RE: [Alsa-user] 1 Sound card, 2+ apps wanting sound input simultaneously
Brought to you by:
perex
From: AP - S. B. <si...@au...> - 2003-03-28 13:36:43
|
Hi Jaroslav, >Add this to your ~/.asoundrc: >pcm.dsp0 { > type plug > slave.pcm "dsnoop" >} >(replace "dsnoop" with your dsnoop pcm name) > Jaroslav Thanks. OK I tried this. I use "rec" as an OSS test command now as Real Producer = does infinite retry if there is a problem whereas rec just reports once. = So this is what I get... $ aoss rec --channels=3D2 --rate=3D48000 testsample.wav Send break (control-c) to end recording ALSA lib pcm_dsnoop.c:698:(snd_pcm_dsnoop_open) unable to open slave sox: Can't open input file '/dev/dsp': No such file or directory Sorry to keep comming back to you with these problems. When I get this = working I will make sure the solution is everywhere I posted and even = add it to the Wiki (if I am allowed to do that). Here is my present .asoundrc file... pcm.es1371 { type hw card 0 } ctl.es1371 { type hw card 0 } pcm.dsnoopy { type dsnoop ipc_key 5978293 ipc_key_add_uid yes slave { pcm "hw:0,0" } } pcm.dsp0 { type plug slave.pcm "dsnoopy" } |