Browse Source

Devin Anderson ffado-verbose-wait-error.diff applied.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3844 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.5
sletz 14 years ago
parent
commit
bace3f9e76
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      linux/firewire/JackFFADODriver.cpp

+ 5
- 0
linux/firewire/JackFFADODriver.cpp View File

@@ -207,16 +207,21 @@ JackFFADODriver::ffado_driver_wait (ffado_driver_t *driver, int extra_fd, int *s
} else if (response == ffado_wait_error) {
// an error happened (unhandled xrun)
// this should be fatal
jack_error("JackFFADODriver::ffado_driver_wait - unhandled xrun");
*status = -1;
return 0;
} else if (response == ffado_wait_shutdown) {
// ffado requested shutdown (e.g. device unplugged)
// this should be fatal
jack_error("JackFFADODriver::ffado_driver_wait - shutdown requested "
"(device unplugged?)");
*status = -1;
return 0;
} else {
// unknown response code. should be fatal
// this should be fatal
jack_error("JackFFADODriver::ffado_driver_wait - unexpected error "
"code '%d' returned from 'ffado_streaming_wait'", response);
*status = -1;
return 0;
}


Loading…
Cancel
Save