mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-24 06:35:42 +00:00
30 lines
623 B
C++
30 lines
623 B
C++
#pragma once
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
#include "ui_audiosettingswidget.h"
|
|
|
|
class QtHostInterface;
|
|
class SettingsDialog;
|
|
|
|
class AudioSettingsWidget : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit AudioSettingsWidget(QtHostInterface* host_interface, QWidget* parent, SettingsDialog* dialog);
|
|
~AudioSettingsWidget();
|
|
|
|
private Q_SLOTS:
|
|
void updateBufferingLabel();
|
|
void updateVolumeLabel();
|
|
void onOutputVolumeChanged(int new_value);
|
|
void onFastForwardVolumeChanged(int new_value);
|
|
void onOutputMutedChanged(int new_state);
|
|
|
|
private:
|
|
Ui::AudioSettingsWidget m_ui;
|
|
|
|
QtHostInterface* m_host_interface;
|
|
};
|