Commit 9701837b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

pulse: do not resync on suspend

Suspension should not occur during playback. However, it can happen
while the stream is starting. In that case, forgetting the
synchronization informations is more harmful than good.
(cherry picked from commit ac1d1616c9814e9bae1588c60bc256dc3e15508c)
parent 0554a015
...@@ -452,7 +452,7 @@ static void stream_suspended_cb(pa_stream *s, void *userdata) ...@@ -452,7 +452,7 @@ static void stream_suspended_cb(pa_stream *s, void *userdata)
audio_output_t *aout = userdata; audio_output_t *aout = userdata;
msg_Dbg(aout, "suspended"); msg_Dbg(aout, "suspended");
stream_reset_sync(s, aout); (void) s;
} }
static void stream_underflow_cb(pa_stream *s, void *userdata) static void stream_underflow_cb(pa_stream *s, void *userdata)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment