Audio-resampling isn't actually performed?
sebastian at centricular.com
Thu Nov 12 10:03:35 UTC 2020
On Thu, 2020-11-12 at 20:44 +1100, Matthew Waters wrote:
> No, the buffer size is not a direct relation with the sample rate of
> the audio. There can be any number of samples within an audio buffer
> that still have the same sample rate.
> It sounds like you probably want to base your element on
> GstAudioAggregator though for the audio-specifics.
Or alternatively you could make use of GstAdapter for converting the
input buffers with arbitrary number of samples into equally-sized
However GstAudioAggregator also takes care of inter-stream
synchronization and various other things that are not too easy to
reimplement, so if you need that it would be a better idea to use it
Sebastian Dröge, Centricular Ltd · https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel