[vlc-commits] PulseAudio: do nothing on underflow
Rémi Denis-Courmont
git at videolan.org
Wed Nov 21 21:27:18 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Nov 21 20:33:52 2012 +0200| [baf47dcc4a4501b9dd1e3fea5cd1d3357dbae306] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=baf47dcc4a4501b9dd1e3fea5cd1d3357dbae306
---
modules/audio_output/pulse.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index 72e7fcf..2debbcd 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -472,9 +472,8 @@ static void stream_underflow_cb(pa_stream *s, void *userdata)
{
audio_output_t *aout = userdata;
- msg_Warn(aout, "underflow");
- stream_stop(s, aout);
- stream_reset_sync(s, aout);
+ msg_Dbg(aout, "underflow");
+ (void) s;
}
static int stream_wait(pa_stream *stream, pa_threaded_mainloop *mainloop)
More information about the vlc-commits
mailing list