13
0

small optimization, read-only buffer suffices here.

This commit is contained in:
Robin Gareus 2016-04-03 03:12:55 +02:00
parent 91b875148a
commit 071c72a977

View File

@ -1674,7 +1674,7 @@ IO::collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset)
}
for ( ; i != _ports.end(*t); ++i, ++b) {
Buffer& bb (i->get_buffer (nframes));
const Buffer& bb (i->get_buffer (nframes));
b->read_from (bb, nframes);
}
}