[vorbis-dev] Cross Platform Mixers and LibAO
Stan Seibert
volsung at mailsnare.net
Sat Aug 2 14:01:05 PDT 2003
On Sat, 2003-08-02 at 16:15, Ben Rockwood wrote:
> I'm in the proccess of writing an OggVorbis audio player using libao and
> libvorbisfile. I've greatly appreciated the simplicity of the API and
> good documentation with the souce of the libraries. I've descided that I really want a mixer on my player, and I'm unsure
> how to best go about it. LibAO (unless I'm absolutely blind) doesn't
> provide mixer control, and looking at how other poeople have implemented
> their mixers tend to use a number of #ifdef'd mixer functions, one for
> OSS, one for ALSA, one for Solaris, etc. I'm curious if anyone could suggest the best way to implement a mixer
> in a crossplatform manner that would best jive with libao. I've like
> the player being simple yet still running on Solaris, Linux, and
> FreeBSD without problems, I'd hate to cludge it up if I can avoid it.
> At the moment I'm just using an OSS mixer, but am ready to re-write the
> mixer code. Is it possibly that at some point in the future libao
> might include mixer functions?
> Any thoughts are appreciated.
Have you looked at SDL and SDL_mixer? Those APIs are fairly
cross-platform, and will probably do better for you.
---
Stan Seibert
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Vorbis-dev
mailing list