SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
audiodialog.h
Go to the documentation of this file.
1 #ifndef INCLUDE_AUDIODIALOG_H
2 #define INCLUDE_AUDIODIALOG_H
3 
4 #include <QDialog>
5 
6 #include "export.h"
8 
9 class QTreeWidgetItem;
10 
11 namespace Ui {
12  class AudioDialog;
13 }
14 
15 class SDRGUI_API AudioDialogX : public QDialog {
16  Q_OBJECT
17 
18 public:
19  explicit AudioDialogX(AudioDeviceManager* audioDeviceManager, QWidget* parent = 0);
20  ~AudioDialogX();
21 
22  int m_inIndex;
24 
25 private:
26  void updateInputDisplay();
27  void updateOutputDisplay();
28  void updateInputDeviceInfo();
29  void updateOutputDeviceInfo();
30  void updateOutputSDPString();
31 
32  Ui::AudioDialog* ui;
33 
37  quint16 m_outputUDPPort;
38 
39 private slots:
40  void accept();
41  void reject();
42  void check();
43  void on_audioInTree_currentItemChanged(QTreeWidgetItem* currentItem, QTreeWidgetItem* previousItem);
44  void on_audioOutTree_currentItemChanged(QTreeWidgetItem* currentItem, QTreeWidgetItem* previousItem);
45  void on_inputVolume_valueChanged(int value);
46  void on_inputReset_clicked(bool checked);
47  void on_inputCleanup_clicked(bool checked);
48  void on_outputUDPPort_editingFinished();
49  void on_outputReset_clicked(bool checked);
50  void on_outputCleanup_clicked(bool checked);
51  void on_outputSampleRate_valueChanged(int value);
52  void on_decimationFactor_currentIndexChanged(int index);
53  void on_outputUDPChannelCodec_currentIndexChanged(int index);
54  void on_outputUDPChannelMode_currentIndexChanged(int index);
55 };
56 
57 #endif // INCLUDE_AUDIODIALOG_H
AudioDeviceManager::OutputDeviceInfo m_outputDeviceInfo
Definition: audiodialog.h:36
#define SDRGUI_API
Definition: export.h:52
AudioDeviceManager * m_audioDeviceManager
Definition: audiodialog.h:34
Ui::AudioDialog * ui
Definition: audiodialog.h:32
quint16 m_outputUDPPort
Definition: audiodialog.h:37
AudioDeviceManager::InputDeviceInfo m_inputDeviceInfo
Definition: audiodialog.h:35