[gst-devel] Forcing adder to use audio/x-raw-float
Stefan Kost
kost at imn.htwk-leipzig.de
Sat Feb 5 02:23:02 CET 2005
many thanks wingo - it works now!
Stefan
Andy Wingo wrote:
> Hey Grant,
>
> On Wed, 2005-02-02 at 14:11 -0700, Grant Likely wrote:
>
>>I've got an application where I want to force the pipeline to use only
>>audio/x-raw-float when mixing and processing audio.
>
>
> Thanks for the test suite. It could be pared down even farther:
>
> gst-launch sinesrc ! audioconvert ! audio/x-raw-float ! adder ! \
> audioconvert ! osssink
>
> The problem is the buffer-frames property. Sinesrc produces buffers of
> indeterminate size, and adder requires that connected elements advertise
> the size of their processing chunks via the 'buffer-frames' caps
> property.
>
> So the solution is to put a buffer-frames element in the pipeline after
> the audioconvert. BUT, for some reason buffer-frames-convert is broken.
> I fixed it in CVS -- don't know how it ever worked before. (Stefan, that
> was your bug -- try again to see if your app is fixed.)
>
> Cheers,
--
\|/ Stefan Kost
<@ @> private business
+-oOO-(_)-OOo------------------------------------------------------ - - - - -
| __ Address Simildenstr. 5 HTWK Leipzig, Fb IMN, Postfach 301166
| /// 04277 Leipzig 04251 Leipzig
| __ /// Germany Germany
| \\\/// Phone +49341 2253538 +49341 30766101
| \__/ EMail st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
| WWW www.sonicpulse.de www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - - - -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kost.vcf
Type: text/x-vcard
Size: 345 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20050205/f49b5d92/attachment.vcf>
More information about the gstreamer-devel
mailing list