diff options
-rw-r--r-- | src/Patchage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 6d8456f..9054547 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -344,8 +344,10 @@ Patchage::idle_callback() } else if (_driver_detached) { if (_jack_driver && !_jack_driver->is_attached()) _jack_driver->destroy_all(); +#ifdef HAVE_ALSA if (_alsa_driver && !_alsa_driver->is_attached()) _alsa_driver->destroy_all(); +#endif } _refresh = false; |