Mercurial > hg > svapp
changeset 581:8cc291b13f2b 3.0-integration
Complete that fix for the record target
author | Chris Cannam |
---|---|
date | Wed, 11 Jan 2017 17:48:21 +0000 |
parents | 298d864113f0 |
children | b2d49e7c4149 |
files | audio/AudioCallbackRecordTarget.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audio/AudioCallbackRecordTarget.cpp Wed Jan 11 17:46:37 2017 +0000 +++ b/audio/AudioCallbackRecordTarget.cpp Wed Jan 11 17:48:21 2017 +0000 @@ -202,9 +202,11 @@ { left = m_inputLeft; right = m_inputRight; + bool valid = m_levelsSet; m_inputLeft = 0.f; m_inputRight = 0.f; - return m_levelsSet; + m_levelsSet = false; + return valid; } void