# HG changeset patch # User Chris Cannam # Date 1533737932 -3600 # Node ID 5ddcbc55b6a2aadbe0b76a9182203b6486a1ab2a # Parent 96b605673585db5a99a106b801bd33fac7d52fe0 If audio IO is recreated due to channel count change when recording, make sure it's recreated ready-resumed if we were recording already diff -r 96b605673585 -r 5ddcbc55b6a2 framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Wed Aug 08 15:17:36 2018 +0100 +++ b/framework/MainWindowBase.cpp Wed Aug 08 15:18:52 2018 +0100 @@ -2552,6 +2552,13 @@ MainWindowBase::audioChannelCountIncreased(int) { recreateAudioIO(); + + if (m_recordTarget && + m_recordTarget->isRecording() && + m_audioIO) { + SVCERR << "MainWindowBase::audioChannelCountIncreased: we were recording already, so resuming IO now" << endl; + m_audioIO->resume(); + } } WaveFileModel *