<div>Hi Donny and all,</div>
<div> </div>
<div>My final goal is my elements can be complatible with playbin maximumly, as many players are using playbin or playbin2. I didn't want to modify the application more.</div>
<div> </div>
<div>For normal scenario, all decoders and sinks should do as their behaviors, that is ideal, but fact is not like I imagine. 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> </div>
<div>But to be compatible with playbin, I need to make playbin working like (it is also playbin normal pipeline)</div>
<div> </div>
<div>filesrc -> demuxer -> decoder -> queue ->audioconvert -> audioresample -> volume ->alsasink<br></div>
<div>My plan is I don't change the playbin code, and make my elements working as the pipeline above. but data flows as <br clear="all"></div>
<div>filesrc -> demuxer -> decoder -> queue ->audioconvert -> audioresample -> volume-> fakesink</div>
<div> |</div>
<div> |____DSP__audiodevice</div>
<div> </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. fakesink is just for pipeline integrality.</div>
<div> </div>
<div>so how about my proposal? are there any other solutions?</div>
<div><br>-- <br>BRs.<br>Zhao Liang<br></div>