diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-01 21:48:45 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-11-01 21:48:45 +0000 |
commit | 7c9c86af27d2cc6e2e9ad6afcff61b8a7873c287 (patch) | |
tree | 22d2c0f1240f99c35d40bb330185a70007a50242 /libs/ardour/audio_unit.cc | |
parent | 8771e00fab8d10f46b9862afe920ee77fae7b197 (diff) |
start trying to remove the use of Plugin::info()->n_{inputs,outputs}, which alway refer to static (unchanging) information from the plugin metadata, which is not useful in the face of AU-like plugin APIs that can change I/O valency as requested, at least some of the time
git-svn-id: svn://localhost/ardour2/branches/3.0@10386 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/audio_unit.cc')
-rw-r--r-- | libs/ardour/audio_unit.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index b53d62614f..5e15d9b48e 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -2670,9 +2670,8 @@ void AUPlugin::set_info (PluginInfoPtr info) { Plugin::set_info (info); - + AUPluginInfoPtr pinfo = boost::dynamic_pointer_cast<AUPluginInfo>(get_info()); - _has_midi_input = pinfo->needs_midi_input (); _has_midi_output = false; } |