Mercurial > hg > svapp
comparison framework/MainWindowBase.cpp @ 496:4f1d280903ad tony-2.0-integration
Update analysis stuff when recording starts (and when model is added) rather than when it ends. Not continuing to update during recording though...
author | Chris Cannam |
---|---|
date | Mon, 12 Oct 2015 17:10:43 +0100 |
parents | 7c779438edc3 |
children | c82cae9a9e74 |
comparison
equal
deleted
inserted
replaced
492:7c779438edc3 | 496:4f1d280903ad |
---|---|
2799 } | 2799 } |
2800 | 2800 |
2801 updateMenuStates(); | 2801 updateMenuStates(); |
2802 m_recentFiles.addFile(model->getLocation()); | 2802 m_recentFiles.addFile(model->getLocation()); |
2803 currentPaneChanged(m_paneStack->getCurrentPane()); | 2803 currentPaneChanged(m_paneStack->getCurrentPane()); |
2804 | |
2805 emit audioFileLoaded(); | |
2804 } | 2806 } |
2805 | 2807 |
2806 void | 2808 void |
2807 MainWindowBase::ffwd() | 2809 MainWindowBase::ffwd() |
2808 { | 2810 { |
3031 void | 3033 void |
3032 MainWindowBase::stop() | 3034 MainWindowBase::stop() |
3033 { | 3035 { |
3034 if (m_recordTarget->isRecording()) { | 3036 if (m_recordTarget->isRecording()) { |
3035 m_recordTarget->stopRecording(); | 3037 m_recordTarget->stopRecording(); |
3036 emit audioFileLoaded(); | |
3037 } | 3038 } |
3038 | 3039 |
3039 m_playSource->stop(); | 3040 m_playSource->stop(); |
3040 | 3041 |
3041 if (m_audioIO) m_audioIO->suspend(); | 3042 if (m_audioIO) m_audioIO->suspend(); |