2016-05-18 23:01:03 +01:00
|
|
|
// Copyright 2016 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ConfigureAudio;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ConfigureAudio : public QWidget {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit ConfigureAudio(QWidget* parent = nullptr);
|
|
|
|
~ConfigureAudio();
|
|
|
|
|
|
|
|
void applyConfiguration();
|
2017-09-23 14:13:59 +01:00
|
|
|
void retranslateUi();
|
2016-05-18 23:01:03 +01:00
|
|
|
|
2017-01-26 03:33:26 +00:00
|
|
|
public slots:
|
|
|
|
void updateAudioDevices(int sink_index);
|
|
|
|
|
2016-05-18 23:01:03 +01:00
|
|
|
private:
|
|
|
|
void setConfiguration();
|
|
|
|
|
|
|
|
std::unique_ptr<Ui::ConfigureAudio> ui;
|
|
|
|
};
|