diff --git a/libs/ardour/io.cc b/libs/ardour/io.cc index 9fa6c7085d..79ee78d8a5 100644 --- a/libs/ardour/io.cc +++ b/libs/ardour/io.cc @@ -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); } }