From 92600e0011488c66175dea483515daec560cd580 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 11 Aug 2012 18:41:31 +0000 Subject: Considerable DSP performance improvements (mixing overhead, and per-event MIDI overhead with Note/Trigger nodes). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4657 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Buffer.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/server/Buffer.cpp') diff --git a/src/server/Buffer.cpp b/src/server/Buffer.cpp index a91ce1b8..b6b67008 100644 --- a/src/server/Buffer.cpp +++ b/src/server/Buffer.cpp @@ -109,18 +109,6 @@ Buffer::copy(const Context& context, const Buffer* src) } } -void -Buffer::set_block(Sample val, const SampleCount start, const SampleCount end) -{ - assert(end <= nframes()); - - // Note: This is done in this particular way so GCC can vectorize it - Sample* const buf = samples() + start; - for (SampleCount i = 0; i < (end - start); ++i) { - buf[i] = val; - } -} - void Buffer::resize(uint32_t capacity) { -- cgit v1.2.1