[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nas] audiooss buffer underrun



On Fri, 10 Aug 2007 jonshan@xxxxxxxxxxxxxxxx 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@xxxxxxxxxxx #include <std/disclaimer.h>
"No Kill I" -Horta