[gst-devel] Forcing adder to use audio/x-raw-float

Grant Likely glikely at gmail.com
Wed Feb 2 13:14:00 CET 2005


I've got an application where I want to force the pipeline to use only
audio/x-raw-float when mixing and processing audio.  From looking at
the code it appears that the adder element supports both int and float
streams.  However, if I attempt to use a GstCaps object to force the
link to use x-raw-float then the linkage fails.

My test application consists of two sinesrc elements, an adder and a
osssink.  audioconvert elements are used to glue the sinesrc and
osssink elements to the adder.  sinesrc and osssink seem to only
support integer.  I want to force the adder to use floating point.

Attached is my test program.  The statements on lines 43 and 45 both
report failures.  If I change line 41 to specify audio/x-raw-int the
pipeline works correctly.

Help please!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gst-sinemux.c
Type: text/x-csrc
Size: 1929 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20050202/7165d70f/attachment.c>


More information about the gstreamer-devel mailing list