[gstreamer-bugs] [Bug 360673] Stuttering with SunAudio Sink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Oct 30 09:49:49 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=360673

  GStreamer | gst-plugins-base | Ver: HEAD CVS





------- Comment #6 from Brian Cameron  2006-10-30 17:48 UTC -------
Created an attachment (id=75678)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=75678&action=view)
gst.out1


Padriag O'Briain is looking into this bug, and here are some of his findings.  

I  experimented with two sets of values (882x20) and (882x600). The first set
of values causes stutter and the second set does not.

I discovered that, in both cases, the time between successive calls to
gst_audo_write is normally 0.00003 seconds but occasionally, about every 300
times, the time is about 2.6 seconds.

It looks to me that this time is being spent in the write call in
gst_audio_write.

My evidence for this is in the attachments.

gst.out1 is for (882,20) and gst.out2 is for (882,600) and the output suggests
that every so often a write call takes a long time to return.

I had a look at prstat output while gst-launch was running and the only thread
that appears there is thread 4 which consumes about 1% of CPU.

Is the audio device fd is blovking or non-blocking mode?


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list