Browse Source

Merge 9c38fc51f1 into cc8576a7ab

pull/348/merge
Adam Goode GitHub 7 years ago
parent
commit
5ee0552c52
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions
  1. +1
    -0
      ChangeLog
  2. +12
    -0
      linux/alsa/alsa_driver.c

+ 1
- 0
ChangeLog View File

@@ -37,6 +37,7 @@ Lars-Peter Clausen
Alexandru Tofan
Kim Jeong Yeon
Filipe Coelho
Google LLC

---------------------------
Jackdmp changes log


+ 12
- 0
linux/alsa/alsa_driver.c View File

@@ -1401,6 +1401,12 @@ alsa_driver_wait (alsa_driver_t *driver, int extra_fd, int *status, float
return 0;
}

if (revents & POLLNVAL) {
jack_error ("ALSA: playback device disconnected");
*status = -7;
return 0;
}

if (revents & POLLERR) {
xrun_detected = TRUE;
}
@@ -1424,6 +1430,12 @@ alsa_driver_wait (alsa_driver_t *driver, int extra_fd, int *status, float
return 0;
}

if (revents & POLLNVAL) {
jack_error ("ALSA: capture device disconnected");
*status = -7;
return 0;
}

if (revents & POLLERR) {
xrun_detected = TRUE;
}


Loading…
Cancel
Save