On 05/26, Lee Revell wrote: > On Fri, 2006-05-26 at 16:57 +0200, Csillag Tamas wrote: > > Hi, > > > > I am in the process of migrating a source of a streaming station from > > winXP to linux. > > > > This machine records from a soundcard and with ices2 and realproducer > > (well the use of this program is not my decision, but I convinced it to > > use alsa via alsa-oss wrapper) and sends streams to a central server > > where other listeners can connect. > > > > Well, I tought that recording from the soundcard with multiple instances > > is a piece of cake. But I did not succeeded. > > > > I get: > > [2006-05-26 16:28:21] EROR input-alsa/alsa_open_module Failed to open > > audio device hw:0,0: Device or resource busy > > If another (alsa) application is recording at the same time. > > > > You have instructed the app to bypass dmix by using the "hw:0,0" device. > It should be using "default". > > What app is this error coming from?
ices2 (http://www.icecast.org/docs/ices-2.0.0/inputs.html) My config file is based on the original one shipped with the ices2 source. With 'default' I get the same error message when I start the second one. somehost:~# ices2 /tmp/ices-alsa.xml [2006-05-26 19:43:55] INFO ices-core/main IceS 2.0.1 started... [2006-05-26 19:43:55] EROR input-alsa/alsa_open_module Failed to open audio device default: Device or resource busy [2006-05-26 19:43:55] EROR input/input_loop Couldn't initialise input module "alsa" [2006-05-26 19:43:55] INFO ices-core/main Shutdown complete > > About the machine: > > It was Debian sarge at the begining but I upgraded to etch to get alsa > > version 1.0.11-2 because this page > > http://alsa.opensrc.org/index.php?page=DmixPlugin > > said I do not need any trick to get dmix working > > "for 1.0.9rc2 and higher" which is the thing I think I need. > > > > So: > > /proc/asound/cards > > 0 [Live ]: EMU10K1 - SB Live [Unknown] > > SB Live [Unknown] (rev.10, serial:0x100a1102) at > > 0xb800, irq 185 > > > > Dmix should not even be needed with this card - it has hardware mixing. But still I get 'Device or resource busy'. Thanks. -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas _______________________________________________ Alsa-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-user
