<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
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.<br>
<br>
Cheers<br>
-Matt<br>
<br>
<div class="moz-cite-prefix">On 12/11/20 2:51 am, Lusine Hayrapetyan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAO4TkMjrV=xT7wZF_kJS8-1xFoLCbojPCUE377sQb8ny6kiQgA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi Folks,<br>
<div>I have my custom audio plugin based on audioaggregator.</div>
<div>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 <span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre">GstMapInfo.size</span> 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?</div>
<div>Regards,</div>
<div>Lusine</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>