Bug#599462: audiosink-actual-sink-alsa: Unable to set hw params for playback: Invalid argument

Ron ron at debian.org
Wed Oct 13 15:02:36 UTC 2010


On Thu, Oct 07, 2010 at 06:56:16PM +0100, Tim Retout wrote:
> clone 585614 -1
> reassign -1 gstreamer0.10-alsa
> retitle -1 audiosink-actual-sink-alsa: Unable to set hw params for
> playback: Invalid argument
> fixed 585614 0.5.6-1.2
> close 585614
> thanks
> 
> On 7 October 2010 16:26, Ron <ron at debian.org> wrote:
> > Are you saying you still see the gui crash?  That stopped happening for me
> > when I updated what came with -tools.  So far as I can see since then, the
> > gui is well behaved and consistent with what gstreamer seems to be feeding
> > its own apps.
> 
> Ah right - no, I've not seen it crash while the -good plugins are
> installed; it was a theoretical crash.  So I'll close the mp3splt-gtk
> bug again.
> 
> And first I'm cloning this bug to gstreamer0.10-alsa, since the
> visible errors look alsa-related. Someone who knows more about
> gstreamer might be able to guide you through the --gst-debug options
> to gst-launch-0.10, and possibly reassign the bug further.

Ok, just to keep the BTS in the loop with what we've learned since,
it looks like gstreamer is trying to play to the PC speaker on this
system - which since I don't have one connected, isn't very audible.
That's also the reason it seemed happier trying to play 8kHz mono
than 44.1 stereo...

I spoke with slomo about this in #d-mmedia, and he seems to think it
may be alsa to blame.  I have no asoundrc or other alsa config anywhere
on this machine, and the information I found browsing around seemed to
indicate the alsa folk would consider it a bug if I needed one for the
default device not to be automagically the 'best' that it can find.

I can indeed get it to work if I override the device explicitly:

 $ gst-launch-0.10 -vvv audiotestsrc ! alsasink device="hw:1,0"

By default it seems to want to take hw:0,0 which is pcsp.


I'll leave it for others to judge the severity this has for Squeeze,
but I've no objections to bumping it down given what I know at this
stage of the game.  It's not fundamentally broken, the magic is just
misfiring somewhere it seems.

Cheers,
Ron







More information about the pkg-gstreamer-maintainers mailing list