<DIV>by the way, I'm using gstreamer 0.6.4.&nbsp; </DIV>
<DIV><BR><B><I>Ronald Bultje &lt;rbultje@ronald.bitfreak.net&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Hi Quan,<BR><BR>On Fri, 2004-01-09 at 23:26, Quan Nguyen wrote:<BR>&gt; oops. I forgot to attach my question. My question is how can I<BR>&gt; attach a listener to the pipeline if I am using the autoplugging<BR>&gt; technique? I attached the listener as shown below, but I couldn't get<BR>&gt; any data to the listener. Somehow the audio still plays, so the<BR>&gt; autoplugging code works. It's just that the listener does not seem to<BR>&gt; even be present. Does anyone have any ideas? Thanks.<BR><BR>Assuming you use spider, you have the following pipeline (in gst-launch<BR>syntax, you'll get the idea):<BR><BR>filesrc location=file ! spider ! osssink<BR><BR>The listener can simply be added to the pipeline like this:<BR><BR>filesrc location=file ! spider ! identity ! osssink<BR><BR>Then attach your signal callback to the identity object after reating<BR>it, and you're
 done.<BR><BR>Ronald<BR><BR>-- <BR>Ronald Bultje <RBULTJE@RONALD.BITFREAK.NET><BR>Linux Video/Multimedia developer<BR></BLOCKQUOTE><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>