diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-09 15:17:29 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-09-09 15:17:43 -0400 |
commit | f06187735d9518623a6f1f3da573b401e77401bb (patch) | |
tree | f5d8878fe6936d65c3840a500ac141b6424dad79 /libs/ardour/ardour/audio_backend.h | |
parent | a228643e402d8f1fb07da88eba960ec368e23dda (diff) |
initial work on adding access to h/w control apps when ardour starts JACK
Diffstat (limited to 'libs/ardour/ardour/audio_backend.h')
-rw-r--r-- | libs/ardour/ardour/audio_backend.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index 4192f0ea8b..f598f1a93a 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -228,6 +228,21 @@ 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. + */ + virtual void launch_control_app () = 0; + /* Basic state control */ /** Start using the device named in the most recent call |