another amend to 00f26394a9
This commit is contained in:
parent
e8dc221191
commit
1c08b910f0
@ -353,7 +353,7 @@ MidiTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame
|
||||
return dret;
|
||||
}
|
||||
|
||||
BufferSet& bufs = _session.get_scratch_buffers (n_process_buffers());
|
||||
BufferSet& bufs = _session.get_route_buffers (n_process_buffers());
|
||||
|
||||
fill_buffers_with_input (bufs, _input, nframes);
|
||||
|
||||
|
@ -126,7 +126,7 @@ ProcessThread::get_route_buffers (ChanCount count, bool silence)
|
||||
|
||||
if (silence) {
|
||||
for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) {
|
||||
for (size_t i= 0; i < count.get(*t); ++i) {
|
||||
for (uint32_t i = 0; i < sb->count().get(*t); ++i) {
|
||||
sb->get(*t, i).clear();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user