diff options
Diffstat (limited to 'src/frontend/qt_sdl/AudioSettingsDialog.h')
-rw-r--r-- | src/frontend/qt_sdl/AudioSettingsDialog.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/frontend/qt_sdl/AudioSettingsDialog.h b/src/frontend/qt_sdl/AudioSettingsDialog.h index 498c152..14d1ad3 100644 --- a/src/frontend/qt_sdl/AudioSettingsDialog.h +++ b/src/frontend/qt_sdl/AudioSettingsDialog.h @@ -30,11 +30,11 @@ class AudioSettingsDialog : public QDialog Q_OBJECT public: - explicit AudioSettingsDialog(QWidget* parent); + explicit AudioSettingsDialog(QWidget* parent, bool emuActive); ~AudioSettingsDialog(); static AudioSettingsDialog* currentDlg; - static AudioSettingsDialog* openDlg(QWidget* parent) + static AudioSettingsDialog* openDlg(QWidget* parent, bool emuActive) { if (currentDlg) { @@ -42,7 +42,7 @@ public: return currentDlg; } - currentDlg = new AudioSettingsDialog(parent); + currentDlg = new AudioSettingsDialog(parent, emuActive); currentDlg->show(); return currentDlg; } @@ -51,6 +51,9 @@ public: currentDlg = nullptr; } + void onSyncVolumeLevel(); + void onConsoleReset(); + signals: void updateAudioSettings(); @@ -61,6 +64,7 @@ private slots: void on_cbInterpolation_currentIndexChanged(int idx); void on_cbBitrate_currentIndexChanged(int idx); void on_slVolume_valueChanged(int val); + void on_chkSyncDSiVolume_clicked(bool checked); void onChangeMicMode(int mode); void on_btnMicWavBrowse_clicked(); @@ -70,6 +74,7 @@ private: int oldInterp; int oldBitrate; int oldVolume; + bool oldDSiSync; QButtonGroup* grpMicMode; }; |