diff options
author | Robin Gareus <robin@gareus.org> | 2016-10-07 20:55:21 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-10-07 20:55:21 +0200 |
commit | 97111b0ec2dd79d4fb4938f3c66cb86c59e7990d (patch) | |
tree | 7bf729073848ddeaae89a9a4de614f2e481609f6 /libs/ardour/ardour/plugin.h | |
parent | b497bb9db42a4a7087168e4a153780d702d262de (diff) |
Clean up is_instrument vs needs-midi-in API
The latter is only really relevant for Audio Units.
This fixes an issue with vocoders or audio-plugins that simply have
a MIDI input for other purposes to be wrongly categorized as Instruments..
.. and thereby override strict-i/o rules (prefer stereo)
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index df4b512ef7..09cd066527 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -395,7 +395,7 @@ class LIBARDOUR_API PluginInfo { virtual PluginPtr load (Session& session) = 0; virtual bool is_instrument() const; - virtual bool needs_midi_input() const { return is_instrument (); } + virtual bool needs_midi_input() const; virtual bool in_category (const std::string &) const { return false; } virtual std::vector<Plugin::PresetRecord> get_presets (bool user_only) const = 0; |