From 477bc772beaf1214e309edd4fb748621c07e2e7b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Nov 2009 17:58:38 +0000 Subject: Make BufferSet::is_silent work so that session silent_buffers are correctly silenced, preventing feedback from occurring with plugins that output non-zero values for zero inputs. git-svn-id: svn://localhost/ardour2/branches/3.0@6124 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/buffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/buffer.h') diff --git a/libs/ardour/ardour/buffer.h b/libs/ardour/ardour/buffer.h index 46a6d62667..48fd7f099b 100644 --- a/libs/ardour/ardour/buffer.h +++ b/libs/ardour/ardour/buffer.h @@ -61,6 +61,7 @@ public: DataType type() const { return _type; } bool silent() const { return _silent; } + void is_silent(bool yn) { _silent = yn; } /** Reallocate the buffer used internally to handle at least @a size_t units of data. * -- cgit v1.2.3