projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91b8751
)
small optimization, read-only buffer suffices here.
author
Robin Gareus
<robin@gareus.org>
Sun, 3 Apr 2016 01:12:55 +0000
(
03:12
+0200)
committer
Robin Gareus
<robin@gareus.org>
Sun, 3 Apr 2016 03:16:47 +0000
(
05:16
+0200)
libs/ardour/io.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/io.cc
b/libs/ardour/io.cc
index 9fa6c7085d1907afafda29037b591cedc7672cb1..79ee78d8a57e6a5b552baa01ce4ba55d3ce13b10 100644
(file)
--- 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);
}
}