2016-05-04 11:07:26 -04:00
|
|
|
#ifndef INCLUDE_AUDIODIALOG_H
|
|
|
|
#define INCLUDE_AUDIODIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
2018-03-03 14:23:38 -05:00
|
|
|
#include "util/export.h"
|
|
|
|
|
2016-05-04 11:07:26 -04:00
|
|
|
class AudioDeviceInfo;
|
|
|
|
|
|
|
|
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:
|
|
|
|
explicit AudioDialog(AudioDeviceInfo* audioDeviceInfo, QWidget* parent = NULL);
|
|
|
|
~AudioDialog();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::AudioDialog* ui;
|
|
|
|
|
|
|
|
AudioDeviceInfo* m_audioDeviceInfo;
|
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
|