mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-13 05:33:50 -04:00
warn if ALSA wakes us up and there is actually nothing to do
This commit is contained in:
parent
bfdad535da
commit
09279f7634
3 changed files with 66 additions and 22 deletions
|
|
@ -1051,6 +1051,12 @@ int pa_alsa_recover_from_poll(snd_pcm_t *pcm, int revents) {
|
|||
pa_log_warn("Got POLLNVAL from ALSA");
|
||||
if (revents & POLLHUP)
|
||||
pa_log_warn("Got POLLHUP from ALSA");
|
||||
if (revents & POLLPRI)
|
||||
pa_log_warn("Got POLLPRI from ALSA");
|
||||
if (revents & POLLIN)
|
||||
pa_log_warn("Got POLLIN from ALSA");
|
||||
if (revents & POLLOUT)
|
||||
pa_log_warn("Got POLLOUT from ALSA");
|
||||
|
||||
state = snd_pcm_state(pcm);
|
||||
pa_log_warn("PCM state is %s", snd_pcm_state_name(state));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue