<DIV>oops.&nbsp; I forgot to attach my question.&nbsp; My question is how can I attach a listener to the pipeline if I am using the autoplugging technique?&nbsp; I attached the listener as shown below, but I couldn't get any data to the listener.&nbsp; Somehow the audio still plays, so the autoplugging code works.&nbsp; It's just that the listener does not seem to even be present.&nbsp; Does anyone have any ideas?&nbsp; Thanks.<BR><BR><B><I>Quan Nguyen &lt;friday_morning@yahoo.com&gt;</I></B> wrote:
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
<DIV></DIV>
<P>I followed the autoplugging example posted in the documentation successfully, and now I would like to attach a listener to the pipeline so that I can pass the audio data to other components.&nbsp; I understand that the proper way of doing this is to not use a listener and write a plugin, but there is a learning curve for that, and I need to have something working soon as a proof of concept.&nbsp; </P>
<P>I would like to attach a listener to the pipeline that is created after the proper plugin has been selected by the autoplugger.&nbsp; But the following code doesn't work:</P>
<P>(after creating the listener and attaching it to a handoff)...</P>
<P>new_element = gst_autoplug_to_renderers(autoplug, caps, listener, osssink, NULL);</P>
<P>The audio plays, but the listener code is never called.</P>
<P>&nbsp;</P>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR>Yahoo! Hotjobs: <A href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</A></BLOCKQUOTE></DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! Hotjobs: <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus">Enter the "Signing Bonus" Sweepstakes</a>