Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
2374:9ca6872a5d0f | 2375:59b7fa58c0af |
---|---|
133 using std::vector; | 133 using std::vector; |
134 using std::map; | 134 using std::map; |
135 using std::set; | 135 using std::set; |
136 | 136 |
137 | 137 |
138 MainWindow::MainWindow(SoundOptions options, bool withOSCSupport) : | 138 MainWindow::MainWindow(AudioMode audioMode, MIDIMode midiMode, bool withOSCSupport) : |
139 MainWindowBase(options), | 139 MainWindowBase(audioMode, midiMode, int(PaneStack::Option::Default)), |
140 m_overview(nullptr), | 140 m_overview(nullptr), |
141 m_mainMenusCreated(false), | 141 m_mainMenusCreated(false), |
142 m_paneMenu(nullptr), | 142 m_paneMenu(nullptr), |
143 m_layerMenu(nullptr), | 143 m_layerMenu(nullptr), |
144 m_transformsMenu(nullptr), | 144 m_transformsMenu(nullptr), |