diff options
author | David Robillard <d@drobilla.net> | 2007-10-25 00:42:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-10-25 00:42:53 +0000 |
commit | 0c3f01e54074a9b47dcab9b3ec0ed8a9729dbc87 (patch) | |
tree | d3d0783e0929199cb05df75f2c556c9fef4955dc /libs/ardour/ardour/audio_buffer.h | |
parent | 7ba6a6c11bcebea226af76b466e245f234e439d6 (diff) |
Use SSE/veclib/whatever for AudioBuffer::accumulate_from
git-svn-id: svn://localhost/ardour2/trunk@2574 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/audio_buffer.h')
-rw-r--r-- | libs/ardour/ardour/audio_buffer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ardour/ardour/audio_buffer.h b/libs/ardour/ardour/audio_buffer.h index 9342ac196b..8f0df4419c 100644 --- 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); } |