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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Nov 3 09:26: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 #10 from Brian Cameron  2006-11-03 17:25 UTC -------

More comments from Padraig, based on his analysis.  Is it possible someone from
the Fluendo team could respond to Padraig's findings and let us know if what we
have found points the way to the problem we are seeing?

I have finally spotted something which may explain what is going on.

I put printf calls in gstringbuffer.c and gstbaseaudiosink.c in
gst-plugins-base-0.10.10/gst-libs/gst/audio and in gstsunaudiosink.c in
gst-plugins-good-0.10.4/sys/sunaudio.

I looked at the output which is attached. It seems to me that data is being
written from the ring buffer to the audio device before the data is written to
the ring buffer; see line 364 and following. New data has not been written to
the buffer since it was last written to the audio device.

This seems to coincide with the stuttering.

What causes thread 4 to be activated?

Is there a way to indicate that the position in the ring buffer is not ready to
be written? 


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




More information about the Gstreamer-bugs mailing list