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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Oct 19 12:29:16 PDT 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 #3 from Brian Cameron  2006-10-19 19:28 UTC -------

I should mention that if you build and install gst-plugins-good, you will not
see this problem of "stuttering".  This is because the gstsunaudiosink.c code
contains these lines:

  /*
   * SunAudio doesn't really give access to buffer size, these values work.  
   * Setting the buffer so large (512K) is a bit annoying because this causes 
   * the volume control in audio players to be slow in responding since the 
   * audio volume won't change until the buffer empties.  SunAudio doesn't seem 
   * to allow changing the audio output buffer size to anything smaller,
though.  
   * I notice setting the values smaller causes the audio to stutter, which is 
   * worse.
   */
  spec->segsize = 4096;
  spec->segtotal = 128;

You need to remove the setting of segsize and segtotal to see this problem. 
Although setting segsize and segtotal does work around the problem, it makes
GStreamer unresponsive, so that when you change the volume in an application,
hit the Stop, Rewind, Fast-forward, etc. buttons, there is a several second lag
before you notice the change taking effect.  This is better than stuttering, 
but still undesirable.

It would be better if we could fix the underlying bug so that setting segsize
and segtotal is not necessary.  I would suspect this will fix the "lagging"
issue.  So if you want to see this issue, please recompile gst-plugins-good and 
modify the code to not set segsize and segtotal.

Does anybody have any ideas of where I should look, explore, test, etc. in
order to help figure out this problem?


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




More information about the Gstreamer-bugs mailing list