diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-07 22:00:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-05-07 22:00:42 +0000 |
commit | ad39f598aedb4a4e44a666e61a8e6678aa2a5f20 (patch) | |
tree | 2e99e47212297fe192ef1ba85b6c4431691aafe4 /libs/ardour/ardour/audio_unit.h | |
parent | 1f318fb5a258627f0a54c708d273a53d0710a6c9 (diff) |
move ::reconfigurable_io() from Plugin to PluginInfo so that the GUI can offer correct information without having ccess to a Plugin instance
git-svn-id: svn://localhost/ardour2/branches/3.0@12200 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audio_unit.h')
-rw-r--r-- | libs/ardour/ardour/audio_unit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/audio_unit.h b/libs/ardour/ardour/audio_unit.h index 14665da301..36e82da802 100644 --- a/libs/ardour/ardour/audio_unit.h +++ b/libs/ardour/ardour/audio_unit.h @@ -104,7 +104,6 @@ class AUPlugin : public ARDOUR::Plugin bool has_editor () const; - bool reconfigurable_io() const { return true; } bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; ChanCount output_streams() const; ChanCount input_streams() const; @@ -241,6 +240,8 @@ class AUPluginInfo : public PluginInfo { AUPluginCachedInfo cache; + bool reconfigurable_io() const { return true; } + static PluginInfoList* discover (); static void get_names (CAComponentDescription&, std::string& name, std::string& maker); static std::string stringify_descriptor (const CAComponentDescription&); |