Mercurial > hg > svapp
changeset 573:9fb190c6521b 3.0-integration
Make writable model updating explicit rather than essentially an arbitrary hidden accident
author | Chris Cannam |
---|---|
date | Wed, 04 Jan 2017 14:22:39 +0000 |
parents | 4c1ab4f9e116 |
children | b3c35447ef31 |
files | audio/AudioRecordTarget.cpp |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/audio/AudioRecordTarget.cpp Wed Jan 04 14:21:24 2017 +0000 +++ b/audio/AudioRecordTarget.cpp Wed Jan 04 14:22:39 2017 +0000 @@ -93,7 +93,10 @@ (m_frameCount, m_recordSampleRate); secChanged = (postRT.sec > priorRT.sec); - if (secChanged) frameToEmit = m_frameCount; + if (secChanged) { + m_model->updateModel(); //!!! v bad here + frameToEmit = m_frameCount; + } } if (secChanged) {