<div>Hi Donny and all,</div>
<div>&nbsp;</div>
<div>My final goal&nbsp;is&nbsp;my elements&nbsp;can be&nbsp;complatible with playbin maximumly, as many players are using playbin or playbin2. I didn&#39;t want to modify the application more.</div>
<div>&nbsp;</div>
<div>For normal scenario, all decoders and sinks should do as their behaviors, that is ideal, but fact is not like I imagine.&nbsp; If I can not pull the decoded data back to RAM, that means all downstream elements should not receive any data from it.</div>

<div>&nbsp;</div>
<div>But to be compatible with playbin, I need to make playbin working&nbsp;like (it is also playbin normal pipeline)</div>
<div>&nbsp;</div>
<div>filesrc -&gt; demuxer -&gt; decoder -&gt; queue -&gt;audioconvert -&gt; audioresample -&gt; volume -&gt;alsasink<br></div>
<div>My plan is I don&#39;t change the playbin code, and make my elements working as the pipeline above. but data flows as <br clear="all"></div>
<div>filesrc -&gt; demuxer -&gt; decoder -&gt; queue -&gt;audioconvert -&gt; audioresample -&gt; volume-&gt; fakesink</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|____DSP__audiodevice</div>
<div>&nbsp;</div>
<div>no any data go through the elements after decoder. but that means decoder should also possess some functions of audiosink, such as clock provider.&nbsp; fakesink is just for pipeline integrality.</div>
<div>&nbsp;</div>
<div>so how about my proposal?&nbsp;are there any other solutions?</div>
<div><br>-- <br>BRs.<br>Zhao Liang<br></div>