[gst-devel] Forcing adder to use audio/x-raw-float
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1929 bytes
Desc: not available
More information about the gstreamer-devel