Browse Source

alsa_driver: Exiting loop for need_playback and need_capture on XRUN to execute recovery

Currently even on XRUN, the xrun recovery is not executed as the
need_playback or need_capture flag is still true and so it goes
and waits on poll again.

Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
tags/v1.9.13
Laxmi Devi Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
fb11c75fdc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      linux/alsa/alsa_driver.c

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

@@ -1307,7 +1307,7 @@ alsa_driver_wait (alsa_driver_t *driver, int extra_fd, int *status, float

again:

while (need_playback || need_capture) {
while ((need_playback || need_capture) && !xrun_detected) {

int poll_result;
unsigned int ci = 0;


Loading…
Cancel
Save