[gst-embedded] Question on gst_plugin alsasink

Zhao Liang-E3423C E3423C at motorola.com
Tue Jun 17 23:29:27 PDT 2008


Hi Shenhong,
 
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 ().
 
For the rootcause, I think maybe the alsasink audiodevice buffer is too
big or your aac decoder is too slow.
 

Best Regards
Zhao Liang


________________________________

From: gstreamer-embedded-bounces at lists.sourceforge.net
[mailto:gstreamer-embedded-bounces at lists.sourceforge.net] On Behalf Of
Shenhong Wang
Sent: Wednesday, June 18, 2008 2:21 PM
To: gstreamer-embedded at lists.sourceforge.net
Subject: [gst-embedded] Question on gst_plugin alsasink



Dear all,
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. 
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. 
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!
 
Best Regards!
Shenhong WANG


________________________________

Connect to the next generation of MSN Messenger  Get it now!
<http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&sou
rce=wlmailtagline> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20080618/312f105f/attachment.htm>


More information about the Gstreamer-embedded mailing list