From 190d2270642bdf85e12e5383adc6e63ae9c2825d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 13 Jun 2010 19:11:37 +0000 Subject: Fix compilation without Jack even more :) git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2580 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Patchage.cpp b/src/Patchage.cpp index 22c52fb..4be7753 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -339,8 +339,10 @@ Patchage::idle_callback() if (_refresh) { refresh(); } else if (_driver_detached) { +#if defined(USE_LIBJACK) || defined(HAVE_JACK_DBUS) if (_jack_driver && !_jack_driver->is_attached()) _jack_driver->destroy_all(); +#endif #ifdef HAVE_ALSA if (_alsa_driver && !_alsa_driver->is_attached()) _alsa_driver->destroy_all(); -- cgit v1.2.1