Browse Source

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
tags/1.90
nedko 17 years ago
parent
commit
e845f540bb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      linux/alsa/JackAlsaDriver.cpp

+ 2
- 2
linux/alsa/JackAlsaDriver.cpp View File

@@ -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;
}


Loading…
Cancel
Save