mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
alsa: resets POLLOUT event
revents marked as POLLOUT|POLLERR|POLLWRNORM in "underrun" case that will trigger unexpected log "ALSA woke us up to write new data to the device, but there was acturally nothing to write...". This patch avoids this log message.
This commit is contained in:
parent
e564129b8f
commit
be3879e04e
2 changed files with 2 additions and 0 deletions
|
|
@ -1670,6 +1670,7 @@ static void thread_func(void *userdata) {
|
|||
|
||||
u->first = TRUE;
|
||||
u->since_start = 0;
|
||||
revents = 0;
|
||||
} else if (revents && u->use_tsched && pa_log_ratelimit(PA_LOG_DEBUG))
|
||||
pa_log_debug("Wakeup from ALSA!");
|
||||
|
||||
|
|
|
|||
|
|
@ -1445,6 +1445,7 @@ static void thread_func(void *userdata) {
|
|||
goto fail;
|
||||
|
||||
u->first = TRUE;
|
||||
revents = 0;
|
||||
} else if (revents && u->use_tsched && pa_log_ratelimit(PA_LOG_DEBUG))
|
||||
pa_log_debug("Wakeup from ALSA!");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue