# HG changeset patch # User Chris Cannam # Date 1483539759 0 # Node ID 9fb190c6521b5d464e88309cc6b2f282a9e4b91b # Parent 4c1ab4f9e1165cff75bdcb77f0e3d108ee38ac38 Make writable model updating explicit rather than essentially an arbitrary hidden accident diff -r 4c1ab4f9e116 -r 9fb190c6521b audio/AudioRecordTarget.cpp --- 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) {