comparison framework/MainWindowBase.cpp @ 557:7759c2dca846 3.0-integration

Jump to start when recording, so you can see something is happening
author Chris Cannam
date Mon, 12 Dec 2016 17:08:10 +0000
parents 21e3aab6e3e7
children 7b115a6505b8
comparison
equal deleted inserted replaced
556:21e3aab6e3e7 557:7759c2dca846
2867 if (action) action->setChecked(false); 2867 if (action) action->setChecked(false);
2868 return; 2868 return;
2869 } 2869 }
2870 } 2870 }
2871 2871
2872 if (m_viewManager) m_viewManager->setGlobalCentreFrame(0);
2873
2872 m_audioIO->resume(); 2874 m_audioIO->resume();
2873 2875
2874 WritableWaveFileModel *model = m_recordTarget->startRecording(); 2876 WritableWaveFileModel *model = m_recordTarget->startRecording();
2875 if (!model) { 2877 if (!model) {
2876 cerr << "ERROR: MainWindowBase::record: Recording failed" << endl; 2878 cerr << "ERROR: MainWindowBase::record: Recording failed" << endl;