diff 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
line wrap: on
line diff
--- a/main/MainWindow.h	Thu Oct 05 11:00:59 2006 +0000
+++ b/main/MainWindow.h	Thu Oct 05 11:01:36 2006 +0000
@@ -55,7 +55,7 @@
     Q_OBJECT
 
 public:
-    MainWindow();
+    MainWindow(bool withAudioOutput = true);
     virtual ~MainWindow();
     
     enum AudioFileOpenMode {
@@ -215,6 +215,7 @@
     WaveformLayer           *m_panLayer;
     Layer                   *m_timeRulerLayer;
 
+    bool                     m_audioOutput;
     AudioCallbackPlaySource *m_playSource;
     AudioCallbackPlayTarget *m_playTarget;