[vorbis-dev] building under NetBSD and using /dev/audio

Jeremy C. Reed reed at reedmedia.net
Tue Feb 27 16:33:23 PST 2001



On Tue, 27 Feb 2001, Jeremy C. Reed wrote:

> Also, I do not have any liboss files.

I now have liboss files. I manually edited the configure script to always:
  HAVE_OSS_TRUE=
  HAVE_OSS_FALSE='#'
My soundcard.h file is at /usr/include/soundcard.h.

I then edited src/plugins/oss/ao_oss.c to comment out:
 ioctl(((ao_oss_internal_t *)state)->fd, SNDCTL_DSP_GETODELAY, &odelay);
(because I dont' have any SNDCTL_DSP_GETODELAY defined).
And I changed /dev/dsp to /dev/audio, did a make and a make install and
now I have:
 -rwxr-xr-x  1 root  wheel   650 Feb 27 16:22 /usr/local/lib/ao/liboss.la
 lrwxr-xr-x  1 root  wheel    13 Feb 27 16:22 /usr/local/lib/ao/liboss.so
 -> liboss.so.0.0
 lrwxr-xr-x  1 root  wheel    13 Feb 27 16:22 /usr/local/lib/ao/liboss.so.0
 -> liboss.so.0.0
 -rwxr-xr-x  1 root  wheel  4724 Feb 27 16:22 /usr/local/lib/ao/liboss.so.0.0

But ogg123 (or ao_get_driver_id) still thinks that oss is not a device and
is using "null" as the default.

I am not sure what to do next to get oss to be a valid ao driver id and
use oss with /dev/audio as the default.

But I am only four hours into this project ...

   Jeremy C. Reed
   http://www.reedmedia.net/

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