Mercurial > hg > aimc
changeset 596:b58758854b88
- Allow the SAI to use double-buffering, as was originally intended.
author | tomwalters@google.com |
---|---|
date | Wed, 06 Feb 2013 15:41:24 +0000 |
parents | 057946a60b91 |
children | 359bcd461dd1 |
files | trunk/src/Modules/SAI/ModuleSAI.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/trunk/src/Modules/SAI/ModuleSAI.cc Thu Oct 11 21:40:17 2012 +0000 +++ b/trunk/src/Modules/SAI/ModuleSAI.cc Wed Feb 06 15:41:24 2013 +0000 @@ -208,7 +208,7 @@ sig *= decay_factor; // Update the temporary SAI buffer - output_.set_sample(ch, delay, output_.sample(ch, delay) + sig); + sai_temp_.set_sample(ch, delay, sai_temp_.sample(ch, delay) + sig); } }