13
0

another amend to 00f26394a9

This commit is contained in:
Robin Gareus 2013-07-31 14:21:40 +02:00
parent e8dc221191
commit 1c08b910f0
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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();
}
}