[linux-audio-user] Outputting same sound source to multiple cards simultaneously

reuben firmin reuben.firmin at gmail.com
Tue Jan 9 11:25:42 EST 2007


With adequate buffering I think this shouldn't be a problem in my use case
-- the speakers connected to the wireless device will be in a different
room. You're not saying that a soundcard will get so far behind that the
buffers will fill up, are you? Both soundcards are designed to output in
~"real time" after all.

Thanks


On 1/9/07, Maarten de Boer <mdeboer at iua.upf.edu> wrote:
>
> On Mon, 8 Jan 2007 18:29:51 -0800
> "reuben firmin" <reuben.firmin at gmail.com> wrote:
>
> The problem here is that these soundcards are not guaranteed to be
> in sync. A slight different in samplerate will cause that on the
> long run, one card will need more buffers to play, while the other
> is still processing the previous one.
>
> I don't think there is any software that deals with this, though
> maybe I am mistaken. (Theoratically, by randomly 'throwing away'
> samples once in a while for the 'slower' soundcard, this problem
> could be solved)
>
>
>
> > Hoping somebody can give me some hints here...
> >
> > 1) I would like to configure amarok to play output to multiple
> soundcards
> > simultaneously. One soundcard is connected to speakers next to my
> computer;
> > the other is connected to wireless speakers over USB ( i.e. is a usb
> audio
> > device). I can get either/or to work, but haven't figured out how to get
> > them both to work simultaneously.
> >
> > 2) (not so important) I would like to further extend this so that
> mplayer
> > can output to the desktop soundcard at the same time that amarok
> continues
> > to play music to the USB audio device.
> >
> > Does anybody have advice and/or references to boilerplate config that'll
> > accomplish these?
> >
> > Thanks,
> > Reuben
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20070109/37ae5bca/attachment.htm 


More information about the Linux-audio-user mailing list