Commit bace3f9e authored by sletz's avatar sletz
Browse files

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
parent 6aebfde9
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment