projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba6a6c
)
Use SSE/veclib/whatever for AudioBuffer::accumulate_from
author
David Robillard
<d@drobilla.net>
Thu, 25 Oct 2007 00:42:53 +0000
(
00:42
+0000)
committer
David Robillard
<d@drobilla.net>
Thu, 25 Oct 2007 00:42:53 +0000
(
00:42
+0000)
git-svn-id: svn://localhost/ardour2/trunk@2574
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/ardour/audio_buffer.h
patch
|
blob
|
history
diff --git
a/libs/ardour/ardour/audio_buffer.h
b/libs/ardour/ardour/audio_buffer.h
index 9342ac196ba589228fd176d6df5f3cc8afa82ab4..8f0df4419cc1127097dd00311d9f4ad684d98af9 100644
(file)
--- a/
libs/ardour/ardour/audio_buffer.h
+++ b/
libs/ardour/ardour/audio_buffer.h
@@
-63,9
+63,7
@@
public:
Sample* const dst_raw = _data + offset;
const Sample* const src_raw = src.data();
- for (nframes_t n = 0; n < len; ++n) {
- dst_raw[n] += src_raw[n];
- }
+ mix_buffers_no_gain(dst_raw, src_raw, len);
_silent = (src.silent() && _silent);
}