[alsa-devel] [PATCH] Fix: pulse_pcm_poll_revents should return 0 on success

s.jansen at gmail.com s.jansen at gmail.com
Tue Feb 26 05:24:13 CET 2013


From: Sander Jansen <s.jansen at gmail.com>

---
 pulse/pcm_pulse.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pulse/pcm_pulse.c b/pulse/pcm_pulse.c
index 4226d30..0d3704b 100644
--- a/pulse/pcm_pulse.c
+++ b/pulse/pcm_pulse.c
@@ -651,6 +651,8 @@ static int pulse_pcm_poll_revents(snd_pcm_ioplug_t * io,
 	else
 		*revents = 0;
 
+	err = 0;
+
 finish:
 
 	pa_threaded_mainloop_unlock(pcm->p->mainloop);
-- 
1.8.1.4



More information about the Alsa-devel mailing list