mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
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
This commit is contained in:
parent
43f8512732
commit
ddff1489f2
2 changed files with 5 additions and 9 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue