Duckstation/src/duckstation-qt/audiosettingswidget.h
2020-07-21 20:10:17 +10:00

29 lines
573 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 onOutputMutedChanged(int new_state);
private:
Ui::AudioSettingsWidget m_ui;
QtHostInterface* m_host_interface;
};