[linux-audio-dev] How to run 4 instances of music player
(Alsaplayer) smoothly ?
fbar at footils.org
Sat Jul 24 17:10:16 EDT 2004
Robert Rozman hat gesagt: // Robert Rozman wrote:
> I'd like to include music players in my home automation system. I'd
> like to run 4 instances of music player - but I want them all to run
> with sufficient resources - not to do hickups when there is
> something else on server....
> Any advice, help ?
If you run "alsaplayer -i text --realtime" you get to run alsaplayer
in "realtime" mode, which is very resistant to dropouts. You also
could play with larger values of "--fragsize". This should make sure
you get click free operation.
Depending on what kind of card you use, you'd need to set up an
asroundrc so that multiply instances of alsaplayer can access
different channels on the same card. I think, this is done with the
"share" or "multi" plugins.
Frank Barknecht _ ______footils.org__
More information about the linux-audio-dev