From 8ca094795add18733faeb2a1f335bb33f40f9894 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 7 Dec 2010 11:43:13 +0100 Subject: [PATCH] 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. --- ext/pulse/pulsesink.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 8bed0c1..2a9a108 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; -- 2.7.4