From bfca1f3a2739c1c0148b0641d3bdb8f4ea16b431 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 4 Jan 2010 20:59:01 +0000 Subject: Remove redundant LV2EventBuffer class and merge with EventBuffer. Refactor mixing from an in-place Buffer method (which doesn't work with EventBuffer) to a single function that takes an out of place destination and an array of sources. Fix audio buffer mixing for control<->audio. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2333 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/AudioBuffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/AudioBuffer.hpp') diff --git a/src/engine/AudioBuffer.hpp b/src/engine/AudioBuffer.hpp index f7d036ff..8b0e95a5 100644 --- a/src/engine/AudioBuffer.hpp +++ b/src/engine/AudioBuffer.hpp @@ -41,7 +41,7 @@ public: void set_block(Sample val, size_t start_offset, size_t end_offset); void copy(const Sample* src, size_t start_sample, size_t end_sample); void copy(Context& context, const Buffer* src); - void mix(Context& context, const Buffer* src); + void accumulate(Context& context, const AudioBuffer* src); bool is_control() const { return _type.symbol() == Shared::PortType::CONTROL; } -- cgit v1.2.1