diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-08 04:35:06 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-08 04:35:06 +0200 |
commit | e15d9202a5671d45329efdab9a898666c009d9f5 (patch) | |
tree | 847749c761598147e7aba26e4ab7f9ac9ea3d288 /libs/ardour/midi_track.cc | |
parent | 32bec8c8b17b95a174da06761c50e3727064876f (diff) |
Emit Changed() signal when MIDI bank/pgm changes
Diffstat (limited to 'libs/ardour/midi_track.cc')
-rw-r--r-- | libs/ardour/midi_track.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/midi_track.cc b/libs/ardour/midi_track.cc index 2c588e973c..5d315c52a7 100644 --- a/libs/ardour/midi_track.cc +++ b/libs/ardour/midi_track.cc @@ -349,9 +349,10 @@ MidiTrack::update_controls(const BufferSet& bufs) for (MidiBuffer::const_iterator e = buf.begin(); e != buf.end(); ++e) { const Evoral::Event<framepos_t>& ev = *e; const Evoral::Parameter param = midi_parameter(ev.buffer(), ev.size()); - const boost::shared_ptr<Evoral::Control> control = this->control(param); + const boost::shared_ptr<AutomationControl> control = automation_control (param); if (control) { control->set_double(ev.value(), _session.transport_frame(), false); + control->Changed (false, Controllable::NoGroup); } } } |