diff options
author | Carl Hetherington <carl@carlh.net> | 2009-11-18 17:58:38 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-11-18 17:58:38 +0000 |
commit | 477bc772beaf1214e309edd4fb748621c07e2e7b (patch) | |
tree | 330911dc9f280f62ba65a57ab554ef7db05b6c3d /libs/ardour/ardour/buffer_set.h | |
parent | 753c66a78666e031dc859c6c2168e14e369263a4 (diff) |
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
Diffstat (limited to 'libs/ardour/ardour/buffer_set.h')
-rw-r--r-- | libs/ardour/ardour/buffer_set.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index f9547e69a2..0c4d5671d3 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -76,8 +76,7 @@ public: const ChanCount& count() const { return _count; } ChanCount& count() { return _count; } - void is_silent(bool yn) { _is_silent = yn; } - bool is_silent() const { return _is_silent; } + void is_silent(bool yn); void silence (nframes_t nframes, nframes_t offset); bool is_mirror() const { return _is_mirror; } |