Re: [Alsa-user] Copying sound
Brought to you by:
perex
From: Bill U. <un...@ph...> - 2006-07-20 21:49:43
|
On Thu, 20 Jul 2006, Luis Fernando Llana D=EDaz wrote: > El Jueves, 20 de Julio de 2006 22:05, Bill Unruh escribi=F3: >> On Thu, 20 Jul 2006, Luis Fernando Llana D=EDaz wrote: >>> Hello, >>> I have two sound cards installed in my computer. I certain circumsta= nces >>> I want one card to reproduce the sound the other card is currently >>> playing. I >> >> Do you mean you want both cards to be playing the same sound? >> >> Note that because of timing problems you could find that the two cards= go >> out of sync after a while. (ie, that 44100/sec may actually be 43899/s= ec) > That is not a mjor problem. > >> You just need to feed the same data to the two cards. > How? > For instance I am listening an audio stream throught the mplayer comman= do > mplayer -ao alsa:device=3Dhw=3D0.0 ............. > > and a certain point I want the sound in the sound card 0 also plays in = the > sound card 1. What is the command I have to do? (the same mplayer comma= nd > with hw=3D1.0 is not a valid answer in my case). "At a certain point". Do you really want to arbitrarily be able to direct the sound from one to two speakers? I have no idea what software would do that. Now it probably would not be hard to write a little program with an X interface which, when you press = a button would direct the sound eitehr to one sound card or to two of them. But I do not know it. That does not mean much as there is a huge amount I do not know. > > Luis Llana. > > > --=20 William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273 Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324 UBC, Vancouver,BC | Program in Cosmology | un...@ph... Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/ |