Commit e845f540 authored by nedko's avatar nedko
Browse files

Apply patch by kfoltman that fixes #95

In 2375, usx2y ALSA driver was deactivated. However the way it was
done causes driver->hw to stay NULL and then referenced. This causes
SIGSEGV, as described in #95 description.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3036 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 8de9ecbb
......@@ -204,11 +204,11 @@ JackAlsaDriver::alsa_driver_hw_specific (alsa_driver_t *driver, int hw_monitorin
if ((err = alsa_driver_ice1712_hardware (driver)) != 0) {
return err;
}
} else if (!strcmp(driver->alsa_driver, "USB US-X2Y")) {
} /*else if (!strcmp(driver->alsa_driver, "USB US-X2Y")) {
if ((err = alsa_driver_usx2y_hardware (driver)) != 0) {
return err;
}
} else {
} */else {
if ((err = alsa_driver_generic_hardware (driver)) != 0) {
return err;
}
......
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