diff options
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/configure_audio.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/citra_qt/configure_audio.cpp b/src/citra_qt/configure_audio.cpp index 7100be158..3cdd4c780 100644 --- a/src/citra_qt/configure_audio.cpp +++ b/src/citra_qt/configure_audio.cpp @@ -3,16 +3,12 @@ // Refer to the license.txt file included. #include "audio_core/sink_details.h" - #include "citra_qt/configure_audio.h" -#include "ui_configure_audio.h" - #include "core/settings.h" +#include "ui_configure_audio.h" -ConfigureAudio::ConfigureAudio(QWidget* parent) : - QWidget(parent), - ui(std::make_unique<Ui::ConfigureAudio>()) -{ +ConfigureAudio::ConfigureAudio(QWidget* parent) + : QWidget(parent), ui(std::make_unique<Ui::ConfigureAudio>()) { ui->setupUi(this); ui->output_sink_combo_box->clear(); @@ -24,8 +20,7 @@ ConfigureAudio::ConfigureAudio(QWidget* parent) : this->setConfiguration(); } -ConfigureAudio::~ConfigureAudio() { -} +ConfigureAudio::~ConfigureAudio() {} void ConfigureAudio::setConfiguration() { int new_sink_index = 0; @@ -41,7 +36,9 @@ void ConfigureAudio::setConfiguration() { } void ConfigureAudio::applyConfiguration() { - Settings::values.sink_id = ui->output_sink_combo_box->itemText(ui->output_sink_combo_box->currentIndex()).toStdString(); + Settings::values.sink_id = + ui->output_sink_combo_box->itemText(ui->output_sink_combo_box->currentIndex()) + .toStdString(); Settings::values.enable_audio_stretching = ui->toggle_audio_stretching->isChecked(); Settings::Apply(); } |