[vorbis-dev] Re: Patches for NetBSD

Christian Weisgerber naddy at mips.inka.de
Sat Mar 17 05:18:10 PST 2001



I've worked on an OpenBSD port of Ogg Vorbis and I've run into the
same issues as Jeremy (and a few more he hasn't discovered yet).
I'll send some detailed descriptions and/or patches later today.

Jeremy C. Reed wrote:

> > +HAVE_OSS_TRUE=
> > +HAVE_OSS_FALSE='#'
> 
> I forced this because it has two checks above for soundcard.h, but neither
> in the same location as NetBSD: /usr/include/soundcard.h. [...]

I suggest not to bother with autoconf snippets for -lossaudio,
/dev/sound, and /usr/include/soundcard.h.  The proper solution is
to write a module for the native sound driver instead of going
through OSS emulation.  In fact, I have one sitting on my disk that
should work for NetBSD/OpenBSD (which share the same sound system)
and possibly Solaris, too.  (The API originated on SunOS.)

I notice that there's an ao_solaris module in CVS.  This looks a
lot like what I have, except that it drops all the sanity checks
ao_oss has (i.e. whether channels is 1 or 2 and bits 8 or 16).  Do
we want those checks?


-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de

--- >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