mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-18 03:15:52 +01:00
Fix automated fader display value (use cycle-end value)
This commit is contained in:
parent
b0b7750bc7
commit
7a01f3cbcd
1 changed files with 3 additions and 1 deletions
|
|
@ -87,7 +87,9 @@ Amp::run (BufferSet& bufs, samplepos_t /*start_sample*/, samplepos_t /*end_sampl
|
|||
assert (gab);
|
||||
|
||||
/* see note in PluginInsert::connect_and_run -- effectively emit Changed signal */
|
||||
_gain_control->set_value_unchecked (gab[0]);
|
||||
if (nframes > 0) {
|
||||
_gain_control->set_value_unchecked (gab[nframes -1]);
|
||||
}
|
||||
|
||||
if (_midi_amp) {
|
||||
for (BufferSet::midi_iterator i = bufs.midi_begin(); i != bufs.midi_end(); ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue