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.

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

lspci:
0000:03:03.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 
0a)

lsmod |grep snd:

snd_emu10k1_synth       6368  0
snd_emux_synth         31616  1 snd_emu10k1_synth
snd_seq_virmidi         6528  1 snd_emux_synth
snd_seq_midi_emul       6048  1 snd_emux_synth
snd_seq_dummy           3556  0
snd_seq_oss            28896  0
snd_seq_midi            8384  0
snd_seq_midi_event      6368  3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq                44432  9 
snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_emu10k1            97156  2 snd_emu10k1_synth
snd_rawmidi            22240  3 snd_seq_virmidi,snd_seq_midi,snd_emu10k1
snd_seq_device          7916  8 
snd_emu10k1_synth,snd_emux_synth,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_emu10k1,snd_rawmidi
snd_ac97_codec         82464  1 snd_emu10k1
snd_pcm_oss            45536  0
snd_mixer_oss          16448  1 snd_pcm_oss
snd_pcm                77576  4 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
snd_timer              21316  3 snd_seq,snd_emu10k1,snd_pcm
snd_ac97_bus            2048  1 snd_ac97_codec
snd_page_alloc          9928  2 snd_emu10k1,snd_pcm
snd_util_mem            4256  2 snd_emux_synth,snd_emu10k1
snd_hwdep               8384  2 snd_emux_synth,snd_emu10k1
snd                    48420  14 
snd_emux_synth,snd_seq_virmidi,snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore               8928  1 snd

uname -a:
Linux somehost 2.6.15-1-686 #2 Mon Mar 6 15:27:08 UTC 2006 i686 GNU/Linux

I include a gzipped version of /etc/modutils/alsa-base (created by
alsaconf)

I read about tricks used in .asoundrc file but I do not understand them.


So thanks in advance.
Any help is appreciated!

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." 
                 -- Brian W. Kernighan

CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas

Attachment: alsa-base.gz
Description: Binary data

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to