19 #include <QGlobalStatic> 28 m_deviceSourceEnginesUIDSequence(0),
29 m_deviceSinkEnginesUIDSequence(0),
30 m_deviceMIMOEnginesUIDSequence(0),
31 m_audioInputDeviceIndex(-1),
32 m_audioOutputDeviceIndex(-1)
68 delete lastDeviceEngine;
86 delete lastDeviceEngine;
104 delete lastDeviceEngine;
116 if ((*it)->getUID() == uid) {
132 if ((*it)->getUID() == uid) {
148 if ((*it)->getUID() == uid) {
168 std::vector<QString> qDeviceRefs;
172 for (std::vector<QString>::const_iterator it = qDeviceRefs.begin(); it != qDeviceRefs.end(); ++it) {
173 deviceNames.push_back(it->toStdString());
178 const unsigned char *mbeFrame,
181 unsigned char channels,
void removeLastDeviceMIMOEngine()
std::vector< DSPDeviceSinkEngine * > m_deviceSinkEngines
DSPDeviceSinkEngine * getDeviceSinkEngineByUID(uint uid)
DSPDeviceSourceEngine * addDeviceSourceEngine()
uint m_deviceSinkEnginesUIDSequence
void getDeviceRefs(std::vector< QString > &devicesRefs)
reference of the devices used (device path or url)
DSPDeviceSinkEngine * addDeviceSinkEngine()
bool hasDVSerialSupport()
uint m_deviceSourceEnginesUIDSequence
void getDVSerialNames(std::vector< std::string > &deviceNames)
uint m_deviceMIMOEnginesUIDSequence
DSPDeviceSourceEngine * getDeviceSourceEngineByUID(uint uid)
DSPDeviceMIMOEngine * getDeviceMIMOEngineByUID(uint uid)
static DSPEngine * instance()
void removeLastDeviceSinkEngine()
void pushMbeFrame(const unsigned char *mbeFrame, int mbeRateIndex, int mbeVolumeIndex, unsigned char channels, bool useHP, int upsampling, AudioFifo *audioFifo)
void removeLastDeviceSourceEngine()
void setDVSerialSupport(bool support)
std::vector< DSPDeviceMIMOEngine * > m_deviceMIMOEngines
std::vector< DSPDeviceSourceEngine * > m_deviceSourceEngines
int getNbDevices() const
number of devices used
void pushMbeFrame(const unsigned char *mbeFrame, int mbeRateIndex, int mbeVolumeIndex, unsigned char channels, bool useHP, int upsampling, AudioFifo *audioFifo)
DSPDeviceMIMOEngine * addDeviceMIMOEngine()