[gst-devel] Problems with USB speakers

Tim Müller t.i.m at zen.co.uk
Mon Jul 9 15:08:56 CEST 2007


On Thu, 2007-06-21 at 07:59 -0300, Rodrigo Castro wrote:

> > ... ! audioconvert ! audioresample 
> > ! audio/x-raw-int,rate=48000,channels=2,width=16,depth=16,signed=true 
> > ! alsasink device=hw:1
>
> I did it and, with "signed=true", it fails with "erroneous pipeline: 
> could not link audioresample0 to alsasink0" message. Removing the 
> "signed=true", it behaves apparently as expected (without any error 
> messages), but no sound comes out of the speakers. I attach both 
> debug.log files for your analysis.

This is because signed=true seems to get deserialised to
signed=(string)true and not signed=(bool)true. This should be fixed in
CVS now. You can force it to deserialise to boolean with

   ... ! 'audio/x-raw-int,signed=(bool)true,...' ! ...

 Cheers
  -Tim






More information about the gstreamer-devel mailing list