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