On Wed, 15 Oct 2003 21:27:45 +0200 Frank Barknecht <[EMAIL PROTECTED]> wrote:
> Hallo, > > Myk hat gesagt: // Myk wrote: > > You can select the device like this: > > > > mplayer -ao alsa9:plughw > > mplayer -ao oss:/dev/dsp1 > > You're right, I'm terribly sorry to have spread this misinformation. > > I actually did try something like that prior to posting which always > gave me errors and no sound and this was, because I was trying to use > plug:dmix with that (I also had redefined "default" to be dmix). I > couldn't get this to work at all. Do you know if it should be possible > to > 1) use something like -ao alsa9:plughw.1 (to get mplayer to use > "plughw:1") It seems you can only use device and subdevice numbers for "hw" - attached is a patch (against 1.0pre2) that'll let you do the same for plughw. The whole device parsing code could do with a rewrite, to be honest - it's messy in there :) Part of the problem is that : and , are already given meaning by mplayer - there needs to be a way of escaping them (maybe using '' or ""). > 2) to use mplayer with the dmix plugin? (I couldn't even get it to run > plug:dmix by defining a ":"-less name in asoundrc) I've never had any luck with dmix with anything except aplay. Everything else complains about setting periods failing. aoss *sometimes* works, but sometimes locks up my machine (this is with 0.9.7b, aoss 0.9.6). Needs investigation. > and > 3) What's this error I keep getting now with "-ao alsa9:plughw": > ... > Building audio filter chain for 44100Hz/2ch/16bit -> > 44100Hz/2ch/16bit... Starting playback... > VDec: vo config request - 576 x 432 (preferred csp: Planar YV12) > VDec: using Planar YV12 as output csp (no 0) > Movie-Aspect is undefined - no prescaling applied. > VO: [xv] 576x432 => 576x432 Planar YV12 > alsa-control: unable to find simple control 'PCM',0 0% 0% 0.0% 0 0 > 13% alsa-control: unable to find simple control 'PCM',0 0% 0% 0.0% > 1 0 99% alsa-control: unable to find simple control 'PCM',0 0% 0% > 0.0% 2 0 99% alsa-control: unable to find simple control 'PCM',0 0% > 0% 0.0% 3 0 99% alsa-control: unable to find simple control 'PCM',0 > 0% 0% 0.0% 4 0 99% alsa-control: unable to find simple control > 'PCM',0 0% 0% 0.0% 5 0 99% alsa-control: unable to find simple > control 'PCM',0 0% 0% 0.0% 6 0 99% alsa-control: unable to find > simple control 'PCM',0 0% 0% 0.0% 7 0 98% > > and so on? I don't know - plughw works here, but it slows video down to about 5fps :( - Myk
ao_alsa9.c.patch
Description: Binary data