[MPlayer-dev-eng] [patch] hwac3 alsa9 output fix

joy ping joy at pingfm.org
Mon Aug 19 14:43:27 CEST 2002


On Sun, Aug 18, 2002 at 03:34:43AM +0200, Benedikt 'Hunz' Heinz wrote:
> 
> Using the current cvs-code for hwac3-output on alsa9 fails:
> I got the following errormessage:
> 
> ALSA lib pcm_hw.c:926:(_snd_pcm_hw_open) Invalid value for card
> open: No such device
> 
> It won't find the "hw:0,2" device and does a fallback to normal PCM instead:
> 

as i wrote several times 'hw:0,2' is the default. you have to pass the
iec958 capable device to ao_alsa9 like:
mplayer -ao alsa9:hw:0,3 
its hw:0,3 on most sblives. you could have read it while searching the
mplayer-mailinglists or reading the source.
i don't know why 'hw:0,2' is the default, i never really touched this
part of the code, maybe cause the guys iec958 who wrote this part of
the code was on hw:0,2.
i don't know if the iec958 alias is supported on all devices, did you
tested it on other cards too?
i will change it anyway cause it seems that spdif-passthrough is
mostly used in conjunction with a sblive, and the 'iec958'-alias seems
to work there.
at least the whole iec958-initializing part of ao_alsa9 needs to be
reworked, for setting iec958-playback automatically for example. i
can't test it, cause i have no iec958 capable external device so
volunteers needed for this part!


-- 
regards

____-
joy

________/\---------%%%___________-----------
webcast every sunday 2000 cest at pingfm.org

pgp key at: x-hkp://wwwkeys.de.pgp.net



More information about the MPlayer-dev-eng mailing list