dgerow wrote:I've just installed OSS on an AMD64 6.0 machine. The sound is quite nice (M-Audio Audiophile 192), but I'm having problems with an app (mpd) that uses libao:
libao - OSS cannot get buffer size for device
problems opening audio device while playing "<file>"
The same configuration was working for 5.4. I vaguely remember running into this before -- can anyone give me some pointers as to how to fix this?
The README.Envy24 says:
With mpg123 (at least versions 0.59r and earlier) you need to modify the
sources and remove the call to ioctl(SNDCTL_DSP_GETBLKSIZE). Use fixed
buffer size (say 512 or 1024) instead. This hopefully gets fixed in
later versions of mpg123.
The same fix works for libao. That is you need to change the corresponding line in the source and recompile libao.
What also worked for me: Copying the include/sys/soundcard.h to /usr/include/sys/soundcard.h and recompile libao. IIRC this breaks compilation of some other applications.
I wonder why this isn't fixed on the driver side (As libao doesn't seem to cause any troubles with any other drivers).
Note that this doesn't help for the xine or vlc sound problems. I only could get them to work using artsd.