[mad-dev] madplay: How to select a specific ALSA card

joker1999 rafal.rusin at gmail.com
Fri Sep 19 01:14:14 PDT 2008



Thomas Reitmayr-2 wrote:
> 
> Hi,
> I just started using madplay a short while ago and I was wondering
> whether it is possible to select an ALSA card different from the default
> one for audio output.
>>From looking at the code it seems like the PATH part of --output is
> used, however
>   madplay --output=alsa:plughw:1 myfile.mp3
> chokes as the TYPE alsa does not exist (in audio.c).
> 
> Did I miss something in the command line or is this a bug / missing
> feature (for which I could provide a patch)?
> 
> Thanks,
> -Thomas
> 
> 
> 

You can try:
madplay -o wave:- something.mp3 | aplay

Regards
-- 
View this message in context: http://www.nabble.com/madplay%3A-How-to-select-a-specific-ALSA-card-tp14695714p19484099.html
Sent from the Mad - Dev mailing list archive at Nabble.com.



More information about the mad-dev mailing list