summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2010-12-07 11:43:13 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2010-12-07 12:39:27 +0100
commit8ca094795add18733faeb2a1f335bb33f40f9894 (patch)
treef6c7a8820a95f8f1813ba3c520d6324410d24046
parentc882b3f34004ce26e890f2894ef7d7e4dcebe6c0 (diff)
pulsesink: don't uncork in _start
Don't uncork in the _start method just yet but wait until we have written some samples to pulseaudio. This avoid underruns on pulseaudio and less crackling noises when starting.
-rw-r--r--ext/pulse/pulsesink.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
index 8bed0c1b2..2a9a108b2 100644
--- a/ext/pulse/pulsesink.c
+++ b/ext/pulse/pulsesink.c
@@ -1072,7 +1072,6 @@ gst_pulseringbuffer_start (GstRingBuffer * buf)
GST_DEBUG_OBJECT (psink, "starting");
pbuf->paused = FALSE;
- gst_pulsering_set_corked (pbuf, FALSE, FALSE);
pa_threaded_mainloop_unlock (mainloop);
return TRUE;