Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; One more thing: alsasink inherits from gstbaseaudiosink which inherits from gstbasesink. GstBaseAudioSink overrides &quot;render&quot; function of GstBaseSink, so don&#39;t forget to take care of gstbaseaudiosink.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/9 Eric Zhang <span dir="ltr">&lt;<a href="mailto:nicolas.m.zhang@gmail.com">nicolas.m.zhang@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, gstreamer-devel:<br><br>&nbsp;&nbsp;&nbsp; I think you&#39;d better add some &quot;g_message&quot; or &quot;printf&quot; codes into your gstbasesink.c and find out where the pipeline blocked, that&#39;s the key point. Blocking is a common problem when developing gstreamer applications, at least for me. And my solution is first find out where it blocks -- mostly always blocks at basesink.<br>

<br>&nbsp;&nbsp;&nbsp; I noticed your basesink used push mode so you can first add printf codes in &quot;gst_base_sink_chain&quot; --&gt; &quot;gst_base_sink_chain_unlock&quot; --&gt; &quot;gst_base_sink_queue_object_unlocked&quot; ......<br>

<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/5 vinod james <span dir="ltr">&lt;<a href="mailto:vinod.james@gmail.com" target="_blank">vinod.james@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">
<br clear="all">Hi,<br>I have done a source installation of gstreamer and gstreamer-base plugins version 0.10.21<br>I am trying few things mentioned in the faq document<br>If I say<br>$aplay -v test.wav, <br>
I am able to play the wav file through alsaplay, which shows that alsa driver is installed in my PC<br><br>
If I do<br>$gst-inspect alsasink <br>shows that alsasink is installed.<br><br>And when i do <br>$gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! audioresample ! filesink location=test.raw <br>it writes the decoded raw samples into the file and I am&nbsp; able to play test.raw in application like cooledit<br>


<br>But if I do <br>$gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! audioresample ! alsasink<br>it goes into infinite loop. <br>The alsasink plugin is not able to detect the alsadriver I guess.<br>How do I debug this problem?<br>


Pls help me<br><br>Regards<br><font color="#888888">Vinod James<br>
</font><br></div></div><div class="Ih2E3d">------------------------------------------------------------------------------<br>
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>
The future of the web can&#39;t happen without you. &nbsp;Join us at MIX09 to help<br>
pave the way to the Next Web now. Learn more and register at<br>
<a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>_______________________________________________<br>


gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></div></blockquote></div><br>
</blockquote></div><br>