[Portaudio] Solaris support?

Dominic Mazzoni dominic@minorninth.com
Mon, 20 May 2002 11:18:24 -0700


> Another possibility is to make a pa_solaris implementation separate from the
> pa_unix_oss implementation. It depends on how different the two
> implementations are. Sam, you know the solaris mods better so what do you
> think?

Note that Augustus' code is not for OSS.  It shares many similarities
with the OSS code because it is still based on reading and writing
/dev/audio directly, but that doesn't mean it's OSS.  Sam, is
your patch intended for OSS on Solaris, or is it for the native
Solaris audio device?

It seems to me like it might make sense to have a pa_unix directory
which contains all of the code common to implementations which
use read() and write() on a file descriptor, i.e. the traditional
unix audio I/O model.  Then pa_unix_oss and pa_solaris would
implement the device queries differently, but share the same code
for the main loop.

- Dominic