Mercurial > hg > sonic-visualiser
diff main/MainWindow.cpp @ 2375:59b7fa58c0af
Use updated MainWindowBase API with ability to open playback device before record - hoping to fix #1946 Should ask for microphone permission only when first recording, not when first opening a file
author | Chris Cannam |
---|---|
date | Wed, 16 Oct 2019 15:28:48 +0100 |
parents | 95c082557ffd |
children | b6d0823e41a5 |
line wrap: on
line diff
--- a/main/MainWindow.cpp Wed Oct 16 13:50:06 2019 +0100 +++ b/main/MainWindow.cpp Wed Oct 16 15:28:48 2019 +0100 @@ -135,8 +135,8 @@ using std::set; -MainWindow::MainWindow(SoundOptions options, bool withOSCSupport) : - MainWindowBase(options), +MainWindow::MainWindow(AudioMode audioMode, MIDIMode midiMode, bool withOSCSupport) : + MainWindowBase(audioMode, midiMode, int(PaneStack::Option::Default)), m_overview(nullptr), m_mainMenusCreated(false), m_paneMenu(nullptr),