<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</STYLE>
<META content="MSHTML 6.00.2800.1609" name=GENERATOR></HEAD>
<BODY class=hmmessage>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=3><SPAN
class=329532206-18062008>Hi Shenhong,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=3><SPAN
class=329532206-18062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=3><SPAN
class=329532206-18062008>Your issue is very similar with the issue I even
met. I think it is due to gstbaseaudiosink/gstaudiosink, it will drop the
packets by gstringbuffer when read rate is bigger than write rate in ringbuffer,
please see gstringbuffer.c gst_ring_buffer_commit_full ().</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=3><SPAN
class=329532206-18062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Courier New" color=#0000ff size=3><SPAN
class=329532206-18062008>For the rootcause, I think maybe the alsasink
audiodevice buffer is too big or your aac decoder is too
slow.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" color=#0000ff size=3></FONT> </DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><B><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'">Best
Regards<BR>Zhao <SPAN class=SpellE>Liang</SPAN></SPAN></B><BR></P></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
gstreamer-embedded-bounces@lists.sourceforge.net
[mailto:gstreamer-embedded-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>Shenhong Wang<BR><B>Sent:</B> Wednesday, June 18, 2008 2:21 PM<BR><B>To:</B>
gstreamer-embedded@lists.sourceforge.net<BR><B>Subject:</B> [gst-embedded]
Question on gst_plugin alsasink<BR></FONT><BR></DIV>
<DIV></DIV><BR>Dear all,<BR>Now we are using alsasink to play audio on Marvell
PXA310 board. The audio is aac format. The audio frames(packets)
are frequently sent to the aac decoder & alsasink to play out.
Unfortunately only the begining frames can be played out and then nothing is
played out. <BR>If we save those audio frames into a file, the aac
decoder&alsasink can be successfully played out. It means the audio frames
are ok. <BR>Could anyone tell me what's the difference for alsasink to process
audio packets and files? How to fix the above issue? thank you very
much!<BR> <BR>Best Regards!<BR>Shenhong WANG<BR><BR>
<HR>
Connect to the next generation of MSN Messenger <A
href="http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline"
target=_new>Get it now! </A></BODY></HTML>