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 <dspengine.h>
Inherits QObject.
Static Public Member Functions | |
static DSPEngine * | instance () |
Private Attributes | |
std::vector< DSPDeviceSourceEngine * > | m_deviceSourceEngines |
uint | m_deviceSourceEnginesUIDSequence |
std::vector< DSPDeviceSinkEngine * > | m_deviceSinkEngines |
uint | m_deviceSinkEnginesUIDSequence |
std::vector< DSPDeviceMIMOEngine * > | m_deviceMIMOEngines |
uint | m_deviceMIMOEnginesUIDSequence |
AudioDeviceManager | m_audioDeviceManager |
int | m_audioInputDeviceIndex |
int | m_audioOutputDeviceIndex |
QTimer | m_masterTimer |
bool | m_dvSerialSupport |
bool | m_mimoSupport |
AMBEEngine | m_ambeEngine |
Definition at line 36 of file dspengine.h.
DSPEngine::DSPEngine | ( | ) |
Definition at line 27 of file dspengine.cpp.
References m_dvSerialSupport, m_masterTimer, and m_mimoSupport.
DSPEngine::~DSPEngine | ( | ) |
Definition at line 39 of file dspengine.cpp.
References m_deviceSourceEngines.
DSPDeviceMIMOEngine * DSPEngine::addDeviceMIMOEngine | ( | ) |
Definition at line 92 of file dspengine.cpp.
References m_deviceMIMOEngines, and m_deviceMIMOEnginesUIDSequence.
Referenced by MainWindow::addMIMODevice().
DSPDeviceSinkEngine * DSPEngine::addDeviceSinkEngine | ( | ) |
Definition at line 74 of file dspengine.cpp.
References m_deviceSinkEngines, and m_deviceSinkEnginesUIDSequence.
Referenced by MainCore::addSinkDevice(), and MainWindow::addSinkDevice().
DSPDeviceSourceEngine * DSPEngine::addDeviceSourceEngine | ( | ) |
Definition at line 56 of file dspengine.cpp.
References m_deviceSourceEngines, and m_deviceSourceEnginesUIDSequence.
Referenced by MainCore::addSourceDevice(), and MainWindow::addSourceDevice().
|
inline |
Definition at line 56 of file dspengine.h.
Referenced by WebAPIAdapterGUI::instanceAMBEDevicesDelete(), WebAPIAdapterSrv::instanceAMBEDevicesDelete(), WebAPIAdapterSrv::instanceAMBEDevicesPatch(), WebAPIAdapterGUI::instanceAMBEDevicesPatch(), WebAPIAdapterGUI::instanceAMBEDevicesPut(), WebAPIAdapterSrv::instanceAMBEDevicesPut(), WebAPIAdapterGUI::instanceAMBESerialGet(), WebAPIAdapterSrv::instanceAMBESerialGet(), MainCore::MainCore(), MainWindow::MainWindow(), and MainWindow::on_action_AMBE_triggered().
|
inline |
Definition at line 55 of file dspengine.h.
Referenced by AMDemod::AMDemod(), AMMod::AMMod(), WFMDemod::applySettings(), AMDemod::applySettings(), UDPSink::applySettings(), NFMDemod::applySettings(), DSDDemod::applySettings(), BFMDemod::applySettings(), WFMMod::applySettings(), AMMod::applySettings(), NFMMod::applySettings(), SSBDemod::applySettings(), FreeDVMod::applySettings(), SSBMod::applySettings(), FreeDVDemod::applySettings(), DATVDemod::applySettings(), BFMDemod::BFMDemod(), DATVDemod::DATVDemod(), DSDDemod::DSDDemod(), FreeDVDemod::FreeDVDemod(), FreeDVMod::FreeDVMod(), WebAPIAdapterGUI::instanceAudioGet(), WebAPIAdapterSrv::instanceAudioGet(), WebAPIAdapterGUI::instanceAudioInputCleanupPatch(), WebAPIAdapterSrv::instanceAudioInputCleanupPatch(), WebAPIAdapterGUI::instanceAudioInputDelete(), WebAPIAdapterSrv::instanceAudioInputDelete(), WebAPIAdapterGUI::instanceAudioInputPatch(), WebAPIAdapterSrv::instanceAudioInputPatch(), WebAPIAdapterGUI::instanceAudioOutputCleanupPatch(), WebAPIAdapterSrv::instanceAudioOutputCleanupPatch(), WebAPIAdapterGUI::instanceAudioOutputDelete(), WebAPIAdapterSrv::instanceAudioOutputDelete(), WebAPIAdapterGUI::instanceAudioOutputPatch(), WebAPIAdapterSrv::instanceAudioOutputPatch(), MainCore::MainCore(), MainWindow::MainWindow(), NFMDemod::NFMDemod(), NFMMod::NFMMod(), MainWindow::on_action_Audio_triggered(), FCDProPlusInput::openFCDAudio(), FCDProInput::openFCDAudio(), SSBDemod::SSBDemod(), SSBMod::SSBMod(), WFMDemod::WFMDemod(), WFMMod::WFMMod(), AMDemod::~AMDemod(), AMMod::~AMMod(), BFMDemod::~BFMDemod(), DATVDemod::~DATVDemod(), DSDDemod::~DSDDemod(), FreeDVDemod::~FreeDVDemod(), FreeDVMod::~FreeDVMod(), NFMDemod::~NFMDemod(), NFMMod::~NFMMod(), SSBDemod::~SSBDemod(), SSBMod::~SSBMod(), UDPSink::~UDPSink(), WFMDemod::~WFMDemod(), and WFMMod::~WFMMod().
|
inline |
Definition at line 44 of file dspengine.h.
References AudioDeviceManager::m_defaultAudioSampleRate.
|
inline |
Definition at line 67 of file dspengine.h.
DSPDeviceMIMOEngine * DSPEngine::getDeviceMIMOEngineByUID | ( | uint | uid | ) |
Definition at line 142 of file dspengine.cpp.
References m_deviceMIMOEngines.
|
inline |
Definition at line 66 of file dspengine.h.
|
inline |
Definition at line 63 of file dspengine.h.
Referenced by LocalSource::getLocalDevice(), and LocalSource::getLocalDevices().
DSPDeviceSinkEngine * DSPEngine::getDeviceSinkEngineByUID | ( | uint | uid | ) |
Definition at line 126 of file dspengine.cpp.
References m_deviceSinkEngines.
|
inline |
Definition at line 62 of file dspengine.h.
Referenced by LocalSource::getLocalDevices().
|
inline |
Definition at line 59 of file dspengine.h.
Referenced by LocalSink::getLocalDevice(), and LocalSink::getLocalDevices().
DSPDeviceSourceEngine * DSPEngine::getDeviceSourceEngineByUID | ( | uint | uid | ) |
Definition at line 110 of file dspengine.cpp.
References m_deviceSourceEngines.
|
inline |
Definition at line 58 of file dspengine.h.
Referenced by LocalSink::getLocalDevices().
void DSPEngine::getDVSerialNames | ( | std::vector< std::string > & | deviceNames | ) |
Definition at line 166 of file dspengine.cpp.
References AMBEEngine::getDeviceRefs(), and m_ambeEngine.
Referenced by WebAPIAdapterGUI::instanceAMBEDevicesGet(), WebAPIAdapterSrv::instanceAMBEDevicesGet(), WebAPIAdapterSrv::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialGet(), WebAPIAdapterGUI::instanceDVSerialPatch(), and WebAPIAdapterSrv::instanceDVSerialPatch().
|
inline |
Definition at line 84 of file dspengine.h.
Referenced by FreqTracker::FreqTracker().
|
inline |
Definition at line 86 of file dspengine.h.
Referenced by MainWindow::on_action_addMIMODevice_triggered().
bool DSPEngine::hasDVSerialSupport | ( | ) |
Definition at line 158 of file dspengine.cpp.
References AMBEEngine::getNbDevices(), and m_ambeEngine.
|
static |
Definition at line 51 of file dspengine.cpp.
Referenced by AMDemod::AMDemod(), AMMod::AMMod(), WFMDemod::applySettings(), AMDemod::applySettings(), UDPSink::applySettings(), NFMDemod::applySettings(), DSDDemod::applySettings(), BFMDemod::applySettings(), WFMMod::applySettings(), AMMod::applySettings(), NFMMod::applySettings(), SSBDemod::applySettings(), FreeDVMod::applySettings(), SSBMod::applySettings(), FreeDVDemod::applySettings(), DATVDemod::applySettings(), AMModGUI::audioFeedbackSelect(), NFMModGUI::audioFeedbackSelect(), SSBModGUI::audioFeedbackSelect(), DATVDemodGUI::audioSelect(), WFMDemodGUI::audioSelect(), NFMDemodGUI::audioSelect(), AMDemodGUI::audioSelect(), SSBDemodGUI::audioSelect(), FreeDVDemodGUI::audioSelect(), BFMDemodGUI::audioSelect(), AMModGUI::audioSelect(), FreeDVModGUI::audioSelect(), NFMModGUI::audioSelect(), WFMModGUI::audioSelect(), SSBModGUI::audioSelect(), DSDDemodGUI::audioSelect(), BFMDemod::BFMDemod(), DATVDemod::DATVDemod(), DSDDemod::DSDDemod(), DSDDemod::feed(), FreeDVDemod::FreeDVDemod(), FreeDVMod::FreeDVMod(), FreqTracker::FreqTracker(), LocalSink::getLocalDevice(), LocalSource::getLocalDevice(), LocalSink::getLocalDevices(), LocalSource::getLocalDevices(), NFMDemod::NFMDemod(), NFMMod::NFMMod(), FCDProPlusInput::openFCDAudio(), FCDProInput::openFCDAudio(), SSBDemod::SSBDemod(), SSBMod::SSBMod(), WFMDemod::WFMDemod(), WFMMod::WFMMod(), AMDemod::~AMDemod(), AMMod::~AMMod(), BFMDemod::~BFMDemod(), DATVDemod::~DATVDemod(), DSDDemod::~DSDDemod(), FreeDVDemod::~FreeDVDemod(), FreeDVMod::~FreeDVMod(), NFMDemod::~NFMDemod(), NFMMod::~NFMMod(), SSBDemod::~SSBDemod(), SSBMod::~SSBMod(), UDPSink::~UDPSink(), WFMDemod::~WFMDemod(), and WFMMod::~WFMMod().
void DSPEngine::pushMbeFrame | ( | const unsigned char * | mbeFrame, |
int | mbeRateIndex, | ||
int | mbeVolumeIndex, | ||
unsigned char | channels, | ||
bool | useHP, | ||
int | upsampling, | ||
AudioFifo * | audioFifo | ||
) |
Definition at line 177 of file dspengine.cpp.
References m_ambeEngine, and AMBEEngine::pushMbeFrame().
Referenced by DSDDemod::feed().
void DSPEngine::removeLastDeviceMIMOEngine | ( | ) |
Definition at line 99 of file dspengine.cpp.
References m_deviceMIMOEngines, and m_deviceMIMOEnginesUIDSequence.
Referenced by MainWindow::removeLastDevice().
void DSPEngine::removeLastDeviceSinkEngine | ( | ) |
Definition at line 81 of file dspengine.cpp.
References m_deviceSinkEngines, and m_deviceSinkEnginesUIDSequence.
Referenced by MainCore::removeLastDevice(), and MainWindow::removeLastDevice().
void DSPEngine::removeLastDeviceSourceEngine | ( | ) |
Definition at line 63 of file dspengine.cpp.
References m_deviceSourceEngines, and m_deviceSourceEnginesUIDSequence.
Referenced by MainCore::removeLastDevice(), and MainWindow::removeLastDevice().
void DSPEngine::setDVSerialSupport | ( | bool | support | ) |
Definition at line 163 of file dspengine.cpp.
Referenced by WebAPIAdapterGUI::instanceDVSerialPatch(), and WebAPIAdapterSrv::instanceDVSerialPatch().
|
inline |
Definition at line 85 of file dspengine.h.
Referenced by MainCore::MainCore(), and MainWindow::MainWindow().
|
private |
Definition at line 101 of file dspengine.h.
Referenced by getDVSerialNames(), hasDVSerialSupport(), and pushMbeFrame().
|
private |
Definition at line 95 of file dspengine.h.
|
private |
Definition at line 96 of file dspengine.h.
|
private |
Definition at line 97 of file dspengine.h.
|
private |
Definition at line 93 of file dspengine.h.
Referenced by addDeviceMIMOEngine(), getDeviceMIMOEngineByUID(), and removeLastDeviceMIMOEngine().
|
private |
Definition at line 94 of file dspengine.h.
Referenced by addDeviceMIMOEngine(), and removeLastDeviceMIMOEngine().
|
private |
Definition at line 91 of file dspengine.h.
Referenced by addDeviceSinkEngine(), getDeviceSinkEngineByUID(), and removeLastDeviceSinkEngine().
|
private |
Definition at line 92 of file dspengine.h.
Referenced by addDeviceSinkEngine(), and removeLastDeviceSinkEngine().
|
private |
Definition at line 89 of file dspengine.h.
Referenced by addDeviceSourceEngine(), getDeviceSourceEngineByUID(), removeLastDeviceSourceEngine(), and ~DSPEngine().
|
private |
Definition at line 90 of file dspengine.h.
Referenced by addDeviceSourceEngine(), and removeLastDeviceSourceEngine().
|
private |
Definition at line 99 of file dspengine.h.
Referenced by DSPEngine().
|
private |
Definition at line 98 of file dspengine.h.
Referenced by DSPEngine().
|
private |
Definition at line 100 of file dspengine.h.
Referenced by DSPEngine().