From e15d9202a5671d45329efdab9a898666c009d9f5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 8 Sep 2017 04:35:06 +0200 Subject: Emit Changed() signal when MIDI bank/pgm changes --- libs/ardour/midi_track.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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& ev = *e; const Evoral::Parameter param = midi_parameter(ev.buffer(), ev.size()); - const boost::shared_ptr control = this->control(param); + const boost::shared_ptr control = automation_control (param); if (control) { control->set_double(ev.value(), _session.transport_frame(), false); + control->Changed (false, Controllable::NoGroup); } } } -- cgit v1.2.3