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.
|
#include <audiodialog.h>
Inherits QDialog.
Public Member Functions | |
AudioDialogX (AudioDeviceManager *audioDeviceManager, QWidget *parent=0) | |
~AudioDialogX () | |
Public Attributes | |
int | m_inIndex |
int | m_outIndex |
Private Slots | |
void | accept () |
void | reject () |
void | check () |
void | on_audioInTree_currentItemChanged (QTreeWidgetItem *currentItem, QTreeWidgetItem *previousItem) |
void | on_audioOutTree_currentItemChanged (QTreeWidgetItem *currentItem, QTreeWidgetItem *previousItem) |
void | on_inputVolume_valueChanged (int value) |
void | on_inputReset_clicked (bool checked) |
void | on_inputCleanup_clicked (bool checked) |
void | on_outputUDPPort_editingFinished () |
void | on_outputReset_clicked (bool checked) |
void | on_outputCleanup_clicked (bool checked) |
void | on_outputSampleRate_valueChanged (int value) |
void | on_decimationFactor_currentIndexChanged (int index) |
void | on_outputUDPChannelCodec_currentIndexChanged (int index) |
void | on_outputUDPChannelMode_currentIndexChanged (int index) |
Private Member Functions | |
void | updateInputDisplay () |
void | updateOutputDisplay () |
void | updateInputDeviceInfo () |
void | updateOutputDeviceInfo () |
void | updateOutputSDPString () |
Private Attributes | |
Ui::AudioDialog * | ui |
AudioDeviceManager * | m_audioDeviceManager |
AudioDeviceManager::InputDeviceInfo | m_inputDeviceInfo |
AudioDeviceManager::OutputDeviceInfo | m_outputDeviceInfo |
quint16 | m_outputUDPPort |
Definition at line 15 of file audiodialog.h.
|
explicit |
Definition at line 28 of file audiodialog.cpp.
References AudioDeviceManager::getInputDeviceInfo(), AudioDeviceManager::getInputDevices(), AudioDeviceManager::getOutputDeviceInfo(), AudioDeviceManager::getOutputDevices(), m_audioDeviceManager, AudioDeviceManager::m_defaultDeviceName, m_inIndex, m_outIndex, m_outputUDPPort, and ui.
AudioDialogX::~AudioDialogX | ( | ) |
Definition at line 99 of file audiodialog.cpp.
References ui.
|
privateslot |
Definition at line 104 of file audiodialog.cpp.
References m_audioDeviceManager, m_inIndex, m_inputDeviceInfo, m_outIndex, m_outputDeviceInfo, AudioDeviceManager::setInputDeviceInfo(), AudioDeviceManager::setOutputDeviceInfo(), ui, AudioDeviceManager::unsetInputDeviceInfo(), AudioDeviceManager::unsetOutputDeviceInfo(), updateInputDeviceInfo(), and updateOutputDeviceInfo().
|
privateslot |
Definition at line 333 of file audiodialog.cpp.
References m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::sampleRate, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioOutput::UDPChannelStereo, AudioOutput::UDPCodecALaw, AudioOutput::UDPCodecG722, AudioOutput::UDPCodecOpus, AudioOutput::UDPCodecULaw, and AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor.
Referenced by on_decimationFactor_currentIndexChanged(), on_outputSampleRate_valueChanged(), on_outputUDPChannelCodec_currentIndexChanged(), and on_outputUDPChannelMode_currentIndexChanged().
|
privateslot |
Definition at line 138 of file audiodialog.cpp.
References AudioDeviceManager::getInputDeviceInfo(), m_audioDeviceManager, m_inputDeviceInfo, ui, and updateInputDisplay().
|
privateslot |
Definition at line 157 of file audiodialog.cpp.
References AudioDeviceManager::getOutputDeviceInfo(), m_audioDeviceManager, m_outputDeviceInfo, ui, and updateOutputDisplay().
|
privateslot |
Definition at line 241 of file audiodialog.cpp.
References check(), m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, and updateOutputSDPString().
|
privateslot |
Definition at line 189 of file audiodialog.cpp.
References AudioDeviceManager::inputInfosCleanup(), and m_audioDeviceManager.
|
privateslot |
Definition at line 182 of file audiodialog.cpp.
References m_inputDeviceInfo, AudioDeviceManager::InputDeviceInfo::resetToDefaults(), and updateInputDisplay().
|
privateslot |
Definition at line 176 of file audiodialog.cpp.
|
privateslot |
Definition at line 228 of file audiodialog.cpp.
References m_audioDeviceManager, and AudioDeviceManager::outputInfosCleanup().
|
privateslot |
Definition at line 221 of file audiodialog.cpp.
References m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::resetToDefaults(), and updateOutputDisplay().
|
privateslot |
Definition at line 234 of file audiodialog.cpp.
References check(), m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::sampleRate, and updateOutputSDPString().
|
privateslot |
Definition at line 248 of file audiodialog.cpp.
References check(), m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, and updateOutputSDPString().
|
privateslot |
Definition at line 255 of file audiodialog.cpp.
References check(), m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, and updateOutputSDPString().
|
privateslot |
Definition at line 208 of file audiodialog.cpp.
References arg(), m_outputDeviceInfo, m_outputUDPPort, AudioDeviceManager::OutputDeviceInfo::udpPort, and ui.
|
privateslot |
Definition at line 133 of file audiodialog.cpp.
|
private |
Definition at line 202 of file audiodialog.cpp.
References m_inputDeviceInfo, AudioDeviceManager::InputDeviceInfo::sampleRate, ui, and AudioDeviceManager::InputDeviceInfo::volume.
Referenced by accept().
|
private |
Definition at line 195 of file audiodialog.cpp.
References arg(), m_inputDeviceInfo, AudioDeviceManager::InputDeviceInfo::sampleRate, ui, and AudioDeviceManager::InputDeviceInfo::volume.
Referenced by on_audioInTree_currentItemChanged(), and on_inputReset_clicked().
|
private |
Definition at line 286 of file audiodialog.cpp.
References AudioDeviceManager::OutputDeviceInfo::copyToUDP, m_outputDeviceInfo, m_outputUDPPort, AudioDeviceManager::OutputDeviceInfo::sampleRate, AudioDeviceManager::OutputDeviceInfo::udpAddress, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, AudioDeviceManager::OutputDeviceInfo::udpPort, AudioDeviceManager::OutputDeviceInfo::udpUseRTP, and ui.
Referenced by accept().
|
private |
Definition at line 262 of file audiodialog.cpp.
References arg(), AudioDeviceManager::OutputDeviceInfo::copyToUDP, m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::sampleRate, AudioDeviceManager::OutputDeviceInfo::udpAddress, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, AudioDeviceManager::OutputDeviceInfo::udpPort, AudioDeviceManager::OutputDeviceInfo::udpUseRTP, ui, and updateOutputSDPString().
Referenced by on_audioOutTree_currentItemChanged(), and on_outputReset_clicked().
|
private |
Definition at line 298 of file audiodialog.cpp.
References arg(), m_outputDeviceInfo, AudioDeviceManager::OutputDeviceInfo::sampleRate, AudioDeviceManager::OutputDeviceInfo::udpChannelCodec, AudioDeviceManager::OutputDeviceInfo::udpChannelMode, AudioOutput::UDPChannelStereo, AudioOutput::UDPCodecALaw, AudioOutput::UDPCodecG722, AudioOutput::UDPCodecL16, AudioOutput::UDPCodecL8, AudioOutput::UDPCodecOpus, AudioOutput::UDPCodecULaw, AudioDeviceManager::OutputDeviceInfo::udpDecimationFactor, and ui.
Referenced by on_decimationFactor_currentIndexChanged(), on_outputSampleRate_valueChanged(), on_outputUDPChannelCodec_currentIndexChanged(), on_outputUDPChannelMode_currentIndexChanged(), and updateOutputDisplay().
|
private |
Definition at line 34 of file audiodialog.h.
Referenced by accept(), AudioDialogX(), on_audioInTree_currentItemChanged(), on_audioOutTree_currentItemChanged(), on_inputCleanup_clicked(), and on_outputCleanup_clicked().
int AudioDialogX::m_inIndex |
Definition at line 22 of file audiodialog.h.
Referenced by accept(), and AudioDialogX().
|
private |
Definition at line 35 of file audiodialog.h.
Referenced by accept(), on_audioInTree_currentItemChanged(), on_inputReset_clicked(), updateInputDeviceInfo(), and updateInputDisplay().
int AudioDialogX::m_outIndex |
Definition at line 23 of file audiodialog.h.
Referenced by accept(), and AudioDialogX().
|
private |
Definition at line 36 of file audiodialog.h.
Referenced by accept(), check(), on_audioOutTree_currentItemChanged(), on_decimationFactor_currentIndexChanged(), on_outputReset_clicked(), on_outputSampleRate_valueChanged(), on_outputUDPChannelCodec_currentIndexChanged(), on_outputUDPChannelMode_currentIndexChanged(), on_outputUDPPort_editingFinished(), updateOutputDeviceInfo(), updateOutputDisplay(), and updateOutputSDPString().
|
private |
Definition at line 37 of file audiodialog.h.
Referenced by AudioDialogX(), on_outputUDPPort_editingFinished(), and updateOutputDeviceInfo().
|
private |
Definition at line 32 of file audiodialog.h.
Referenced by accept(), AudioDialogX(), on_audioInTree_currentItemChanged(), on_audioOutTree_currentItemChanged(), on_inputVolume_valueChanged(), on_outputUDPPort_editingFinished(), updateInputDeviceInfo(), updateInputDisplay(), updateOutputDeviceInfo(), updateOutputDisplay(), updateOutputSDPString(), and ~AudioDialogX().