GNOME Bugzilla – Bug 142211
alsasink broken due to mixer device
Last modified: 2004-12-22 21:47:04 UTC
With cvs of 2004-05-09: gst-launch-0.8 filesrc location="test.mkv" ! matroskademux name=demux ! { queue ! spider ! xvimagesink } { demux. ! queue ! spider ! audioscale ! audio/x-raw-int,rate=48000 ! alsasink device=dsp1 } RUNNING pipeline ... ALSA lib control.c:654:(snd_ctl_open_noupdate) Invalid CTL dsp1 ERROR alsa(21563) gstalsamixer.c(153):gst_alsa_mixer_open:<alsasink0> Cannot attach mixer to sound device `dsp1'. ERROR: pipeline doesn't want to play. Caught interrupt. Relevant part of my ~/.asoundrc: pcm.dsp1 { type hw card 0 device 1 }
OK, so this mixer part might cause some regressions. How do I get the relevant mixer for a given device then? (And why are mixer-device-to-attach-to and sound-device not the same?)
Ok, this seems to be a problem of the alsa configuration, adding this to my .asoundrc fixes it: ctl.dsp1 { type hw card 0 }
Added some code to make sure that even though we don't attach to a mixer sanely, we still continue (like OSS). Mixer-less devicing is allowed by ALSA.
ronald, is this fixed ? if so, resolve as such. if not, change milestone to HEAD. thanks.
Yes this is fixed.