[nas] audiooss buffer underrun
Jon Trulson
jon at radscan.com
Mon Aug 13 14:27:24 MDT 2007
On Fri, 10 Aug 2007 jonshan at eden.rutgers.edu wrote:
>> - auplay on some wav file works ok?
>
> Yes, NAS and auplay work great.
>
>> - using audiooss on something like 'play' works ok?
>
> No. I can't confirm if audiooss works at all on my system.
>
> node:/dev# play ~/sounds/sounds/fanfare.wav -t ossdsp /dev/dsp
> play stio: Can't open input file `/dev/dsp': No such file or directory
>
> LD_PRELOAD is set to /usr/lib/libaudiooss.so .
>
> node:/dev# sox -t wav ~/sounds/sounds/fanfare.wav -t ossdsp /dev/dsp
> sox stio: Failed writing /dev/dsp: Unable to reset OSS driver. Possibly
> accessing an invalid file/device
>
> Now /dev/dsp exists.
>
> node:~/audiooss-1.0.0# play fanfare.wav -t ossdsp /dev/dsp
> play stio: Failed reading `/dev/dsp': Unable to reset OSS driver.
> Possibly accessing an invalid file/device
>
> The same file correctly plays by doing: "auplay fanfare.wav".
>
Hmm... I seem to remember Erik having some issues originally in
properly intercepting open() calls for /dev/dsp et. al.
I don't suppose stracing it provides any clues? This will take some
debugging. I could try it here, though I'm using slackware. What
linux are you using?
> Jonathan Shan
>
--
Jon Trulson
mailto:jon at radscan.com
#include <std/disclaimer.h>
"No Kill I" -Horta
More information about the Nas
mailing list