mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-27 08:05:41 +00:00
29 lines
573 B
C++
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;
|
|
};
|