diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-09 16:48:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-09 16:48:27 -0400 |
commit | ecfeeda4b8b1f5d342a08d4155250c2e66198ce3 (patch) | |
tree | 861673ee019f81924ee48bb787ea0bfa89f7446b /libs/ardour/ardour/audio_backend.h | |
parent | f06187735d9518623a6f1f3da573b401e77401bb (diff) |
launching control app is now responsibility of ardour GUI, not audio backend; use ARDOUR_DEVICE_CONTROL_APP if set in the environment
Diffstat (limited to 'libs/ardour/ardour/audio_backend.h')
-rw-r--r-- | libs/ardour/ardour/audio_backend.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index f598f1a93a..b8a1818e24 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -228,20 +228,12 @@ class AudioBackend { virtual uint32_t systemic_input_latency () const = 0; virtual uint32_t systemic_output_latency () const = 0; - /** Return true if it is possible to launch a control app - * at this time. Return false otherwise. - * - * The audio backend may not know the device for which the - * control app should be opened, or there may no such - * application. In such cases, this method should return false. - */ - virtual bool have_control_app() const = 0; - - /** If the device name has been set, launch an application (if any exist) - * to manage the hardware settings of that device. If no such application - * exists, do nothing. + /** Return the name of a control application for the + * selected/in-use device. If no such application exists, + * or if no device has been selected or is in-use, + * return an empty string. */ - virtual void launch_control_app () = 0; + virtual std::string control_app_name() const = 0; /* Basic state control */ |