mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
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.
This commit is contained in:
parent
c882b3f340
commit
8ca094795a
1 changed files with 0 additions and 1 deletions
|
@ -1072,7 +1072,6 @@ gst_pulseringbuffer_start (GstRingBuffer * buf)
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (psink, "starting");
|
GST_DEBUG_OBJECT (psink, "starting");
|
||||||
pbuf->paused = FALSE;
|
pbuf->paused = FALSE;
|
||||||
gst_pulsering_set_corked (pbuf, FALSE, FALSE);
|
|
||||||
pa_threaded_mainloop_unlock (mainloop);
|
pa_threaded_mainloop_unlock (mainloop);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue