diff main/PreferencesDialog.h @ 1413:a89ca5ccb958 3.0-integration

Reopen the audio device directly when preference is changed
author Chris Cannam
date Mon, 12 Dec 2016 15:45:33 +0000
parents 558347e7e1ab
children a9c30afdbbfe
line wrap: on
line diff
--- a/main/PreferencesDialog.h	Mon Dec 12 09:13:44 2016 +0000
+++ b/main/PreferencesDialog.h	Mon Dec 12 15:45:33 2016 +0000
@@ -43,6 +43,9 @@
     };
     void switchToTab(Tab tab);
 
+signals:
+    void audioDeviceChanged();
+                             
 public slots:
     void applicationClosing(bool quickly);
 
@@ -122,6 +125,7 @@
     int m_viewFontSize;
     bool m_showSplash;
 
+    bool m_audioDeviceChanged;
     bool m_changesOnRestart;
 };