From f06bab1fa3094013ea5c13fc8aa229bf9701b7da Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 9 Sep 2013 17:10:33 -0400 Subject: [PATCH] add envy24 control app name --- libs/backends/jack/jack_audiobackend.cc | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/libs/backends/jack/jack_audiobackend.cc b/libs/backends/jack/jack_audiobackend.cc index 811e190fb6..27f8a4f0c6 100644 --- a/libs/backends/jack/jack_audiobackend.cc +++ b/libs/backends/jack/jack_audiobackend.cc @@ -959,23 +959,18 @@ JACKAudioBackend::control_app_name () const { string appname; - if (_target_device.empty()) { + if (_target_driver.empty() || _target_device.empty()) { return appname; } -#if defined (__linux) - /* Linux potential control apps */ + if (_target_driver == "alsa") { - if (_target_device == "Hammerfall DSP") { - appname = "hdspconf"; + if (_target_device == "Hammerfall DSP") { + appname = "hdspconf"; + } else if (_target_device == "M Audio Delta 1010") { + appname = "mudita"; + } } -#else -#if defined (__APPLE__) - /* OS X potential control apps */ -#else - /* Windows potential control apps */ -#endif -#endif return appname; }