This uncork condition is valid for volume ramping with silence
memchunk in pulseaudio when a stream is started.
patch history
:
46a3c9ac8b2f8182ef8f211f4be09a67e4d42a61 - 2016-04-16 02:21:14 +1000 - Revert "pulsesink: uncork if needed upon commit"
:
0dd46accf6d282ff07065852bd91c85c78af3394 - 2015-01-10 13:04:44 +0100 - pulsesink: uncork if needed upon commit
Change-Id: I3d9ad358f4c66df1755650960b53043df22a2d1c
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
if (pbuf->paused)
goto was_paused;
+#ifdef __TIZEN__
+ /* ensure running clock for whatever out there */
+ if (pbuf->corked) {
+ if (!gst_pulsering_set_corked (pbuf, FALSE, FALSE))
+ goto uncork_failed;
+ }
+#endif
/* offset is in bytes */
offset = *sample * bpf;