Audio-resampling isn't actually performed?

Matthew Waters ystreet00 at gmail.com
Thu Nov 12 06:13:47 UTC 2020


The size of the input audio buffer can be different or the same for any 
number of reasons.  e.g. the input chains upstream may produce buffers 
of a completely different number of audio samples. There is too little 
information to point you in any meaningful direction.

Cheers
-Matt

On 12/11/20 2:51 am, Lusine Hayrapetyan wrote:
> Hi Folks,
> I have my custom audio plugin based on audioaggregator.
> I have 2 input audio streams with different sample rates and I'm using 
> audioresample element to resample the audio streams to the same rate 
> before passing them to my custom plugin. In my custom plugin I've 
> overwritten aggregate function where I print GstMapInfo.size of audio 
> buffers and I expect that buffers from 2 sinkpads which resampled 
> before have the same size but they are different, is it mean that 
> audio resampling wasn't actually performed before?
> Regards,
> Lusine
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201112/a7b3cb9a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20201112/a7b3cb9a/attachment.sig>


More information about the gstreamer-devel mailing list