At Mon, 27 Mar 2006 16:58:10 -0500, Lee Revell wrote: > > On Mon, 2006-03-27 at 22:50 +0100, scott wrote: > > Thanks for the reply. I take it that means something like "mpg321 -o > > alsa -a plughw:0,0 ..." I run that and I get: > > > > Can't open libao driver with device plughw (is device in use?) > > > > In case its important I dont have a /proc/asound/dev directory, could > > that be a problem? > > Do you have a sound server running, or another app that might be > blocking the sound device?
This might be a problem of dmix and libao combination. libao tries to open the default PCM at first to probe the availability of the sound driver, close it, then reopen again with the given PCM. The dmix(-server) tends to keep the file descriptor for a short period, and this prevents the reopen. This problem should be fixed my patches posted yesterday. A quick fix is to redefine default to plughw in ~/.asoundrc pcm.!default "plughw:0,0" Takashi ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user