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

PulseAudio: do nothing on underflow

PulseAudio underflow is not (usually) an actual underrun. It just means
PulseAudio would fancy more data.
parent 49829efd
...@@ -472,9 +472,8 @@ static void stream_underflow_cb(pa_stream *s, void *userdata) ...@@ -472,9 +472,8 @@ static void stream_underflow_cb(pa_stream *s, void *userdata)
{ {
audio_output_t *aout = userdata; audio_output_t *aout = userdata;
msg_Warn(aout, "underflow"); msg_Dbg(aout, "underflow");
stream_stop(s, aout); (void) s;
stream_reset_sync(s, aout);
} }
static int stream_wait(pa_stream *stream, pa_threaded_mainloop *mainloop) static int stream_wait(pa_stream *stream, pa_threaded_mainloop *mainloop)
......
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