From ddff1489f26a753efc3cbdb35fc4c1d19b17c53e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 Nov 2011 21:10:46 +0000 Subject: force re-silence of buffers in ProcessThread::get_silent_buffers(), an interim fix before actually finding out why the buffers are marked silent when they were not git-svn-id: svn://localhost/ardour2/branches/3.0@10383 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/process_thread.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/process_thread.cc') diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc index 58d51bef4e..666c64e211 100644 --- a/libs/ardour/process_thread.cc +++ b/libs/ardour/process_thread.cc @@ -84,6 +84,10 @@ ProcessThread::get_silent_buffers (ChanCount count) for (DataType::iterator t = DataType::begin(); t != DataType::end(); ++t) { for (size_t i= 0; i < count.get(*t); ++i) { + /* every call to get_silent_buffers() by a given thread + * requires that we re-silence them. + */ + sb->get(*t, i).is_silent(false); sb->get(*t, i).clear(); } } -- cgit v1.2.3