Mercurial > hg > sonic-visualiser
comparison main/MainWindow.h @ 46:47bff9f88882
* Add --no-audio option to avoid opening any audio output device
author | Chris Cannam |
---|---|
date | Thu, 05 Oct 2006 11:01:36 +0000 |
parents | c0ae41c72421 |
children | ec77936c268e |
comparison
equal
deleted
inserted
replaced
45:6b6bca31ad53 | 46:47bff9f88882 |
---|---|
53 class MainWindow : public QMainWindow | 53 class MainWindow : public QMainWindow |
54 { | 54 { |
55 Q_OBJECT | 55 Q_OBJECT |
56 | 56 |
57 public: | 57 public: |
58 MainWindow(); | 58 MainWindow(bool withAudioOutput = true); |
59 virtual ~MainWindow(); | 59 virtual ~MainWindow(); |
60 | 60 |
61 enum AudioFileOpenMode { | 61 enum AudioFileOpenMode { |
62 ReplaceMainModel, | 62 ReplaceMainModel, |
63 CreateAdditionalModel, | 63 CreateAdditionalModel, |
213 QPushButton *m_playSharpen; | 213 QPushButton *m_playSharpen; |
214 QPushButton *m_playMono; | 214 QPushButton *m_playMono; |
215 WaveformLayer *m_panLayer; | 215 WaveformLayer *m_panLayer; |
216 Layer *m_timeRulerLayer; | 216 Layer *m_timeRulerLayer; |
217 | 217 |
218 bool m_audioOutput; | |
218 AudioCallbackPlaySource *m_playSource; | 219 AudioCallbackPlaySource *m_playSource; |
219 AudioCallbackPlayTarget *m_playTarget; | 220 AudioCallbackPlayTarget *m_playTarget; |
220 | 221 |
221 RecentFiles m_recentFiles; | 222 RecentFiles m_recentFiles; |
222 RecentFiles m_recentTransforms; | 223 RecentFiles m_recentTransforms; |