Make Route and Track ::silent_roll() also flush out ports buffers

So that MIDI in the ports is really made silent.
This commit is contained in:
Julien "_FrnchFrgg_" RIVAUD 2016-07-15 02:02:21 +02:00 committed by Paul Davis
parent 9ba6e938d8
commit 8c3551341c
2 changed files with 2 additions and 0 deletions

View File

@ -3501,6 +3501,7 @@ int
Route::silent_roll (pframes_t nframes, framepos_t /*start_frame*/, framepos_t /*end_frame*/, bool& /* need_butler */)
{
silence (nframes);
flush_processor_buffers_locked (nframes);
return 0;
}

View File

@ -496,6 +496,7 @@ Track::silent_roll (pframes_t nframes, framepos_t /*start_frame*/, framepos_t /*
_amp->apply_gain_automation(false);
silence (nframes);
flush_processor_buffers_locked (nframes);
framecnt_t playback_distance;