diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-03 03:12:55 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-03 05:16:47 +0200 |
commit | 071c72a9770792044a0758b910067cfd4ddd000a (patch) | |
tree | 6379dcfceba184fd39a449d12fb84686edcc0da2 /libs/ardour/io.cc | |
parent | 91b875148ab8b86effc9a462d5ff06381975bbf9 (diff) |
small optimization, read-only buffer suffices here.
Diffstat (limited to 'libs/ardour/io.cc')
-rw-r--r-- | libs/ardour/io.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |