Browse Source

alsa: in case of poll timeout print error

This is always an audible issue. Therefore print the coresponding
error message also in non verbose mode.

Signed-off-by: Adam Miartus <external.Adam.Miartus@de.bosch.com>
(cherry picked from commit 5b8c373318)
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>

Change-Id: I5e1380776f76814409f198a4ad874d4ae46007e3
tags/v1.9.15
Adam Miartus Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
994ebbc6ee
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      linux/alsa/alsa_driver.c

+ 3
- 3
linux/alsa/alsa_driver.c View File

@@ -1397,9 +1397,9 @@ alsa_driver_wait (alsa_driver_t *driver, int extra_fd, int *status, float
*status = -5;
return 0;
}
jack_log ("ALSA: poll time out, polled for %" PRIu64
" usecs, Retrying with a recovery, retry cnt = %d",
poll_ret - poll_enter, retry_cnt);
jack_error ("ALSA: poll time out, polled for %" PRIu64
" usecs, Retrying with a recovery, retry cnt = %d",
poll_ret - poll_enter, retry_cnt);
*status = alsa_driver_xrun_recovery (driver, delayed_usecs);
if(*status != 0) {
jack_error ("ALSA: poll time out, recovery failed with status = %d", *status);


Loading…
Cancel
Save