FFT, hertz and stream metadata

Stefano Parmesan s.parmesan at gmail.com
Tue May 29 08:18:28 PDT 2012


Hi Tim,

> You should check the caps on the buffer itself. At least the very first
> buffer should have caps set on it. Those caps should have a "rate"
> field, and a "width" and "depth" field.
>
> If you query audiosrc's caps, _get_negotiated_caps() might return the
> caps actually used.
>
> Cheers
>  -Tim

Thank you, that worked neatly. I didn't expect the buffer to have data
attached to it, but it actually makes perfectly sense.

Thanks, again!
Best

--
Dott. Stefano Parmesan
PhD Student ~ University of Trento
<ahref Foundation - Trento - Italy
Tel: 0461-235794 ext. 5544


More information about the gstreamer-devel mailing list