<div class="gmail_quote">
<div>Hi,</div>
<div>&nbsp;</div>
<div>I have another alternative, if I configure my original audiosink as audio decoder.</div>
<div>This audio decoder element&nbsp;also has srcpad, but actually no data is through the srcpad to downstream elements, the data&nbsp;goes down to HW audiodevice in it, and it also provides clock.</div>
<div>when I use playbin, I set fakesink as audio-sink, so can playbin still work&nbsp;except some functions disabled (such as volume)&nbsp;?</div>
<div>&nbsp;</div>
<div>BRs.<br>Zhao Liang</div>
<div>&nbsp;</div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div>
<div class="Wj3C7c">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>On Fri, Feb 20, 2009 at 8:28 PM, Liang Zhao &lt;<a href="mailto:liangzhao.bit@gmail.com" target="_blank">liangzhao.bit@gmail.com</a>&gt; wrote:<br>&gt; If I have a audio sink with decoding functions, that means this audiosink<br>
&gt; can decode encoded data and render it to audio device. Can playbin handle<br>&gt; this type audio sink well?<br><br></div>Probably not.<br>
<div><br>&gt; From code, I find playbin is using decodebin to build pipeline, and<br>&gt; decodebin finds decoders from the caps in registry. In playbin, it will add<br>&gt; audiobin to route the decoded data to audio sink. &nbsp;But if the decoder is<br>
&gt; already a sink, the playbin still handles it well?<br>&gt; I hope guys can give me some helps.<br><br></div>It sounds like you may be working on a gstreamer element for some kind<br>of hardware decoder on a display adapter (video card.)<br>
<br>The *most* ideal way to do this (IMHO) would be to use new caps to<br>represent the APIs needed to move data in or out of this special area<br>(the video card.) This would be a good first step IMO toward getting<br>the GStreamer developers to include support for such a thing in<br>
official GStreamer playbin elements.<br><br>I can&#39;t really speak on behalf of the GStreamer guys, but if they are<br>similar open source advocates as I am, they probably are not too<br>excited to support something like, say, a hardware DVD decoder.<br>
<br>Can you tell us more about what you&#39;re working on?<br><br>--<br><a href="http://codebad.com/" target="_blank">http://codebad.com/</a><br></blockquote></div></div></div></blockquote></div>