2016-05-04 17:07:26 +02:00
|
|
|
#ifndef INCLUDE_AUDIODIALOG_H
|
|
|
|
#define INCLUDE_AUDIODIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2018-03-20 13:49:21 +01:00
|
|
|
#include "export.h"
|
2018-03-03 20:23:38 +01:00
|
|
|
|
2018-03-23 18:08:38 +01:00
|
|
|
class AudioDeviceManager;
|
2016-05-04 17:07:26 +02:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class AudioDialog;
|
|
|
|
}
|
|
|
|
|
2018-03-03 20:23:38 +01:00
|
|
|
class SDRGUI_API AudioDialog : public QDialog {
|
2016-05-04 17:07:26 +02:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-03-24 03:36:49 +01:00
|
|
|
explicit AudioDialog(AudioDeviceManager* audioDeviceManager, QWidget* parent = 0);
|
2016-05-04 17:07:26 +02:00
|
|
|
~AudioDialog();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::AudioDialog* ui;
|
|
|
|
|
2018-03-24 03:36:49 +01:00
|
|
|
AudioDeviceManager* m_audioDeviceManager;
|
2017-01-06 12:43:18 +01:00
|
|
|
float m_inputVolume;
|
2016-05-04 17:07:26 +02:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void accept();
|
2017-01-06 03:13:53 +01:00
|
|
|
void on_inputVolume_valueChanged(int value);
|
2016-05-04 17:07:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_AUDIODIALOG_H
|