[gstreamer-bugs] [Bug 360673] Stuttering with SunAudio Sink
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Mon Nov 27 14:50:10 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 #23 from Brian Cameron 2006-11-27 22:48 UTC -------
Created an attachment (id=77253)
--> (http://bugzilla.gnome.org/attachment.cgi?id=77253&action=view)
patch to add reset logic to sunaudio sink and source plugins
Padraig had the following comments today:
have spent some time trying to understand what happens when the Stop button is
pressed in an application which is playing audio.
The test case I am using is gnome-sound-recorder. I record some sound and then
play it back. Is there a better test case I could use?
I am seeing that the callback for the Stop button takes about 1 second to run
and most of this time is spent in the close system call in
gst_sunaudiosink_close in
gst_plugins-good-0.10.4/sys/sunaudio/gstsunaudiosink.c
Strangely, I am finding that the segsize and segtotal setting for the
ringbuffer does not seem to affcet the time taken in the close system call.
I wrote the attached patch which adds a reset function to the source and sink
plugin. This seems to greatly speed up the performance of hitting the
stop/pause buttons.
I think we want this patch and also to continue working on the patch so that we
no longer need to set segsize/segtotal to a large buffer on Solaris.
This patch fixes the problem of stop/pause being slow, but changing volume is
still very unresponsive.
We need the patch so we no longer need to set segsize/segtotal to improve the
performance of changing volume.
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list