diff options
author | David Robillard <d@drobilla.net> | 2007-06-29 04:02:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-29 04:02:58 +0000 |
commit | 24ccaac67e9d416b3f3c564a441934313f3e9a21 (patch) | |
tree | f244c9835aadc67f88c73ad2f499b6575f06c27c /libs/ardour/processor.cc | |
parent | f8697ed223c1f59dde5aee1ac7bff8bd8a6e19a8 (diff) |
Further automation refactoring - bring in the concept of Controllable, work towards
making automation + GUI + play/write/touch generic and easily reusable.
Added bar controller to automation track controls (mostly relevant for MIDI CC, but added for gain and pan too Just Because).
Fixed glaring "redirect" list errors.
Fix plugin controls/automation loading.
git-svn-id: svn://localhost/ardour2/trunk@2080 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/processor.cc')
-rw-r--r-- | libs/ardour/processor.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index b192eb85c1..76c780f2db 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -157,8 +157,8 @@ Processor::state (bool full_state) XMLNode& automation = Automatable::get_automation_state(); - for (set<ParamID>::iterator x = _visible_parameter_automation.begin(); x != _visible_parameter_automation.end(); ++x) { - if (x != _visible_parameter_automation.begin()) { + for (set<ParamID>::iterator x = _visible_controls.begin(); x != _visible_controls.end(); ++x) { + if (x != _visible_controls.begin()) { sstr << ' '; } sstr << *x; @@ -202,7 +202,7 @@ Processor::set_state (const XMLNode& node) uint32_t what; stringstream sstr; - _visible_parameter_automation.clear (); + _visible_controls.clear (); sstr << prop->value(); while (1) { |