diff options
author | Robin Gareus <robin@gareus.org> | 2019-02-20 16:26:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-02-20 16:26:51 +0100 |
commit | 69322ccd1b5b1c7e9633672bb84c2258300f3133 (patch) | |
tree | db8b3f480a8c75e94e6bb51ebb1ac44edb6f53a3 /libs/ardour/ardour/plugin_insert.h | |
parent | f0d227f9258b40b63f54c5bf44e5d69c6f93e73d (diff) |
Add unified API to select plugins to show on control-surfaces
e.g. Mixbus channelstrip should be hidden, also mixbus' built-in
effects are exposed as well-known controls
Diffstat (limited to 'libs/ardour/ardour/plugin_insert.h')
-rw-r--r-- | libs/ardour/ardour/plugin_insert.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index 64b2bd875d..f4703a5689 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -113,13 +113,9 @@ public: bool has_midi_thru () const; bool inplace () const { return ! _no_inplace; } -#ifdef MIXBUS bool is_channelstrip () const; bool is_nonbypassable () const; -#else - bool is_channelstrip () const { return false; } - bool is_nonbypassable () const { return false; } -#endif + bool show_on_ctrl_surface () const; void set_input_map (uint32_t, ChanMapping); void set_output_map (uint32_t, ChanMapping); |