mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-25 03:32:29 -04:00
Multi device support: commented out code cleanup
This commit is contained in:
parent
86c78cd6a5
commit
7aa5ca7573
@ -35,8 +35,6 @@ PluginGUI* ChannelAnalyzerPlugin::createChannel(const QString& channelName, Devi
|
|||||||
if(channelName == ChannelAnalyzerGUI::m_channelID)
|
if(channelName == ChannelAnalyzerGUI::m_channelID)
|
||||||
{
|
{
|
||||||
ChannelAnalyzerGUI* gui = ChannelAnalyzerGUI::create(m_pluginAPI, deviceAPI);
|
ChannelAnalyzerGUI* gui = ChannelAnalyzerGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("org.f4exb.sdrangelove.channel.chanalyzer", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -46,6 +44,4 @@ PluginGUI* ChannelAnalyzerPlugin::createChannel(const QString& channelName, Devi
|
|||||||
void ChannelAnalyzerPlugin::createInstanceChannelAnalyzer(DeviceAPI *deviceAPI)
|
void ChannelAnalyzerPlugin::createInstanceChannelAnalyzer(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
ChannelAnalyzerGUI* gui = ChannelAnalyzerGUI::create(m_pluginAPI, deviceAPI);
|
ChannelAnalyzerGUI* gui = ChannelAnalyzerGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("org.f4exb.sdrangelove.channel.chanalyzer", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,6 @@ PluginGUI* AMPlugin::createChannel(const QString& channelName, DeviceAPI *device
|
|||||||
if(channelName == AMDemodGUI::m_channelID)
|
if(channelName == AMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
AMDemodGUI* gui = AMDemodGUI::create(m_pluginAPI, deviceAPI);
|
AMDemodGUI* gui = AMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.am", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -48,6 +46,4 @@ PluginGUI* AMPlugin::createChannel(const QString& channelName, DeviceAPI *device
|
|||||||
void AMPlugin::createInstanceAM(DeviceAPI *deviceAPI)
|
void AMPlugin::createInstanceAM(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
AMDemodGUI* gui = AMDemodGUI::create(m_pluginAPI, deviceAPI);
|
AMDemodGUI* gui = AMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.am", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -54,8 +54,6 @@ PluginGUI* BFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
if(channelName == BFMDemodGUI::m_channelID)
|
if(channelName == BFMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
BFMDemodGUI* gui = BFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
BFMDemodGUI* gui = BFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("sdrangel.channel.bfm", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
return 0;
|
||||||
@ -65,6 +63,4 @@ PluginGUI* BFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
void BFMPlugin::createInstanceBFM(DeviceAPI *deviceAPI)
|
void BFMPlugin::createInstanceBFM(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
BFMDemodGUI* gui = BFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
BFMDemodGUI* gui = BFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("sdrangel.channel.bfm", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -53,8 +53,6 @@ PluginGUI* DSDDemodPlugin::createChannel(const QString& channelName, DeviceAPI *
|
|||||||
if(channelName == DSDDemodGUI::m_channelID)
|
if(channelName == DSDDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
DSDDemodGUI* gui = DSDDemodGUI::create(m_pluginAPI, deviceAPI);
|
DSDDemodGUI* gui = DSDDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("sdrangel.channel.dsddemod", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -64,6 +62,4 @@ PluginGUI* DSDDemodPlugin::createChannel(const QString& channelName, DeviceAPI *
|
|||||||
void DSDDemodPlugin::createInstanceDSDDemod(DeviceAPI *deviceAPI)
|
void DSDDemodPlugin::createInstanceDSDDemod(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
DSDDemodGUI* gui = DSDDemodGUI::create(m_pluginAPI, deviceAPI);
|
DSDDemodGUI* gui = DSDDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("sdrangel.channel.dsddemod", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@ PluginGUI* LoRaPlugin::createChannel(const QString& channelName, DeviceAPI *devi
|
|||||||
if(channelName == LoRaDemodGUI::m_channelID)
|
if(channelName == LoRaDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
LoRaDemodGUI* gui = LoRaDemodGUI::create(m_pluginAPI, deviceAPI);
|
LoRaDemodGUI* gui = LoRaDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.lora", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -46,6 +44,4 @@ PluginGUI* LoRaPlugin::createChannel(const QString& channelName, DeviceAPI *devi
|
|||||||
void LoRaPlugin::createInstanceLoRa(DeviceAPI *deviceAPI)
|
void LoRaPlugin::createInstanceLoRa(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
LoRaDemodGUI* gui = LoRaDemodGUI::create(m_pluginAPI, deviceAPI);
|
LoRaDemodGUI* gui = LoRaDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.lora", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -34,8 +34,6 @@ PluginGUI* NFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
{
|
{
|
||||||
if(channelName == NFMDemodGUI::m_channelID) {
|
if(channelName == NFMDemodGUI::m_channelID) {
|
||||||
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance(NFMDemodGUI::m_channelID, gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -45,6 +43,4 @@ PluginGUI* NFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
void NFMPlugin::createInstanceNFM(DeviceAPI *deviceAPI)
|
void NFMPlugin::createInstanceNFM(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
NFMDemodGUI* gui = NFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance(NFMDemodGUI::m_channelID, gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@ PluginGUI* SSBPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
if(channelName == SSBDemodGUI::m_channelID)
|
if(channelName == SSBDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
SSBDemodGUI* gui = SSBDemodGUI::create(m_pluginAPI, deviceAPI);
|
SSBDemodGUI* gui = SSBDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.ssb", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -47,6 +45,4 @@ PluginGUI* SSBPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
void SSBPlugin::createInstanceSSB(DeviceAPI *deviceAPI)
|
void SSBPlugin::createInstanceSSB(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
SSBDemodGUI* gui = SSBDemodGUI::create(m_pluginAPI, deviceAPI);
|
SSBDemodGUI* gui = SSBDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.ssb", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@ PluginGUI* WFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
if(channelName == WFMDemodGUI::m_channelID)
|
if(channelName == WFMDemodGUI::m_channelID)
|
||||||
{
|
{
|
||||||
WFMDemodGUI* gui = WFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
WFMDemodGUI* gui = WFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.wfm", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
return gui;
|
return gui;
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
@ -47,6 +45,4 @@ PluginGUI* WFMPlugin::createChannel(const QString& channelName, DeviceAPI *devic
|
|||||||
void WFMPlugin::createInstanceWFM(DeviceAPI *deviceAPI)
|
void WFMPlugin::createInstanceWFM(DeviceAPI *deviceAPI)
|
||||||
{
|
{
|
||||||
WFMDemodGUI* gui = WFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
WFMDemodGUI* gui = WFMDemodGUI::create(m_pluginAPI, deviceAPI);
|
||||||
// deviceAPI->registerChannelInstance("de.maintech.sdrangelove.channel.wfm", gui);
|
|
||||||
// m_pluginAPI->addChannelRollup(gui);
|
|
||||||
}
|
}
|
||||||
|
@ -202,7 +202,6 @@ void MainWindow::addDevice()
|
|||||||
bool sampleSourceSignalsBlocked = m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector()->blockSignals(true);
|
bool sampleSourceSignalsBlocked = m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector()->blockSignals(true);
|
||||||
m_pluginManager->fillSampleSourceSelector(m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector());
|
m_pluginManager->fillSampleSourceSelector(m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector());
|
||||||
|
|
||||||
// connect(m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector(), SIGNAL(currentIndexChanged(int)), this, SLOT(on_sampleSource_currentIndexChanged(int)));
|
|
||||||
connect(m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelectionConfirm(), SIGNAL(clicked(bool)), this, SLOT(on_sampleSource_confirmClicked(bool)));
|
connect(m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelectionConfirm(), SIGNAL(clicked(bool)), this, SLOT(on_sampleSource_confirmClicked(bool)));
|
||||||
|
|
||||||
m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector()->blockSignals(sampleSourceSignalsBlocked);
|
m_deviceUIs.back()->m_samplingDeviceControl->getDeviceSelector()->blockSignals(sampleSourceSignalsBlocked);
|
||||||
@ -277,21 +276,6 @@ void MainWindow::setInputGUI(int deviceTabIndex, QWidget* gui, const QString& so
|
|||||||
}
|
}
|
||||||
|
|
||||||
ui->tabInputsView->setCurrentIndex(deviceTabIndex);
|
ui->tabInputsView->setCurrentIndex(deviceTabIndex);
|
||||||
|
|
||||||
|
|
||||||
// if (deviceTabIndex < ui->tabInputsView->count())
|
|
||||||
// {
|
|
||||||
// qDebug("MainWindow::setInputGUI: tab device index %d replace", deviceTabIndex);
|
|
||||||
// ui->tabInputsView->removeTab(deviceTabIndex);
|
|
||||||
// ui->tabInputsView->insertTab(deviceTabIndex, gui, tabNameCStr);
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// qDebug("MainWindow::setInputGUI: tab device index %d add", deviceTabIndex);
|
|
||||||
// ui->tabInputsView->addTab(gui, tabNameCStr);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// ui->tabInputsView->setTabToolTip(deviceTabIndex, sourceDisplayName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::loadSettings()
|
void MainWindow::loadSettings()
|
||||||
@ -675,11 +659,8 @@ void MainWindow::on_sampleSource_currentIndexChanged(int index)
|
|||||||
qDebug("MainWindow::on_sampleSource_currentIndexChanged: tab at %d", currentSourceTabIndex);
|
qDebug("MainWindow::on_sampleSource_currentIndexChanged: tab at %d", currentSourceTabIndex);
|
||||||
DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex];
|
DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex];
|
||||||
deviceUI->m_deviceAPI->saveSourceSettings(m_settings.getWorkingPreset());
|
deviceUI->m_deviceAPI->saveSourceSettings(m_settings.getWorkingPreset());
|
||||||
//deviceUI->m_pluginManager->saveSourceSettings(m_settings.getWorkingPreset());
|
|
||||||
m_pluginManager->selectSampleSourceByIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex(), deviceUI->m_deviceAPI);
|
m_pluginManager->selectSampleSourceByIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex(), deviceUI->m_deviceAPI);
|
||||||
m_settings.setSourceIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex());
|
m_settings.setSourceIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex());
|
||||||
|
|
||||||
//deviceUI->m_pluginManager->loadSourceSettings(m_settings.getWorkingPreset());
|
|
||||||
deviceUI->m_deviceAPI->loadSourceSettings(m_settings.getWorkingPreset());
|
deviceUI->m_deviceAPI->loadSourceSettings(m_settings.getWorkingPreset());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -694,11 +675,8 @@ void MainWindow::on_sampleSource_confirmClicked(bool checked)
|
|||||||
qDebug("MainWindow::on_sampleSource_currentIndexChanged: tab at %d", currentSourceTabIndex);
|
qDebug("MainWindow::on_sampleSource_currentIndexChanged: tab at %d", currentSourceTabIndex);
|
||||||
DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex];
|
DeviceUISet *deviceUI = m_deviceUIs[currentSourceTabIndex];
|
||||||
deviceUI->m_deviceAPI->saveSourceSettings(m_settings.getWorkingPreset());
|
deviceUI->m_deviceAPI->saveSourceSettings(m_settings.getWorkingPreset());
|
||||||
//deviceUI->m_pluginManager->saveSourceSettings(m_settings.getWorkingPreset());
|
|
||||||
m_pluginManager->selectSampleSourceByIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex(), deviceUI->m_deviceAPI);
|
m_pluginManager->selectSampleSourceByIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex(), deviceUI->m_deviceAPI);
|
||||||
m_settings.setSourceIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex());
|
m_settings.setSourceIndex(deviceUI->m_samplingDeviceControl->getDeviceSelector()->currentIndex());
|
||||||
|
|
||||||
//deviceUI->m_pluginManager->loadSourceSettings(m_settings.getWorkingPreset());
|
|
||||||
deviceUI->m_deviceAPI->loadSourceSettings(m_settings.getWorkingPreset());
|
deviceUI->m_deviceAPI->loadSourceSettings(m_settings.getWorkingPreset());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -748,7 +726,6 @@ MainWindow::DeviceUISet::DeviceUISet(QTimer& timer)
|
|||||||
m_samplingDeviceControl = new SamplingDeviceControl;
|
m_samplingDeviceControl = new SamplingDeviceControl;
|
||||||
m_deviceEngine = 0;
|
m_deviceEngine = 0;
|
||||||
m_deviceAPI = 0;
|
m_deviceAPI = 0;
|
||||||
// m_pluginManager = 0;
|
|
||||||
|
|
||||||
// m_spectrum needs to have its font to be set since it cannot be inherited from the main window
|
// m_spectrum needs to have its font to be set since it cannot be inherited from the main window
|
||||||
QFont font;
|
QFont font;
|
||||||
|
@ -17,11 +17,7 @@
|
|||||||
PluginManager::PluginManager(MainWindow* mainWindow, QObject* parent) :
|
PluginManager::PluginManager(MainWindow* mainWindow, QObject* parent) :
|
||||||
QObject(parent),
|
QObject(parent),
|
||||||
m_pluginAPI(this, mainWindow),
|
m_pluginAPI(this, mainWindow),
|
||||||
m_mainWindow(mainWindow)//,
|
m_mainWindow(mainWindow)
|
||||||
// m_sampleSourceId(),
|
|
||||||
// m_sampleSourceSerial(),
|
|
||||||
// m_sampleSourceSequence(0),
|
|
||||||
// m_sampleSourcePluginGUI(NULL)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -114,20 +110,6 @@ int PluginManager::selectSampleSourceByIndex(int index, DeviceAPI *deviceAPI)
|
|||||||
index = 0;
|
index = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// deviceAPI->stopAcquisition();
|
|
||||||
//
|
|
||||||
// if(m_sampleSourcePluginGUI != NULL) {
|
|
||||||
// deviceAPI->stopAcquisition();
|
|
||||||
// deviceAPI->setSource(0);
|
|
||||||
// m_sampleSourcePluginGUI->destroy();
|
|
||||||
// m_sampleSourcePluginGUI = NULL;
|
|
||||||
// m_sampleSourceId.clear();
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// m_sampleSourceId = m_sampleSourceDevices[index].m_sourceId;
|
|
||||||
// m_sampleSourceSerial = m_sampleSourceDevices[index].m_sourceSerial;
|
|
||||||
// m_sampleSourceSequence = m_sampleSourceDevices[index].m_sourceSequence;
|
|
||||||
|
|
||||||
qDebug() << "PluginManager::selectSampleSourceByIndex: m_sampleSource at index " << index
|
qDebug() << "PluginManager::selectSampleSourceByIndex: m_sampleSource at index " << index
|
||||||
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
||||||
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
||||||
@ -155,16 +137,6 @@ int PluginManager::selectFirstSampleSource(const QString& sourceId, DeviceAPI *d
|
|||||||
|
|
||||||
int index = -1;
|
int index = -1;
|
||||||
|
|
||||||
// deviceAPI->stopAcquisition();
|
|
||||||
//
|
|
||||||
// if(m_sampleSourcePluginGUI != NULL) {
|
|
||||||
// deviceAPI->stopAcquisition();
|
|
||||||
// deviceAPI->setSource(0);
|
|
||||||
// m_sampleSourcePluginGUI->destroy();
|
|
||||||
// m_sampleSourcePluginGUI = NULL;
|
|
||||||
// m_sampleSourceId.clear();
|
|
||||||
// }
|
|
||||||
|
|
||||||
for (int i = 0; i < m_sampleSourceDevices.count(); i++)
|
for (int i = 0; i < m_sampleSourceDevices.count(); i++)
|
||||||
{
|
{
|
||||||
qDebug("*** %s vs %s", qPrintable(m_sampleSourceDevices[i].m_sourceId), qPrintable(sourceId));
|
qDebug("*** %s vs %s", qPrintable(m_sampleSourceDevices[i].m_sourceId), qPrintable(sourceId));
|
||||||
@ -188,10 +160,6 @@ int PluginManager::selectFirstSampleSource(const QString& sourceId, DeviceAPI *d
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// m_sampleSourceId = m_sampleSourceDevices[index].m_sourceId;
|
|
||||||
// m_sampleSourceSerial = m_sampleSourceDevices[index].m_sourceSerial;
|
|
||||||
// m_sampleSourceSequence = m_sampleSourceDevices[index].m_sourceSequence;
|
|
||||||
|
|
||||||
qDebug() << "PluginManager::selectFirstSampleSource: m_sampleSource at index " << index
|
qDebug() << "PluginManager::selectFirstSampleSource: m_sampleSource at index " << index
|
||||||
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
||||||
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
||||||
@ -266,10 +234,6 @@ int PluginManager::selectSampleSourceBySerialOrSequence(const QString& sourceId,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// m_sampleSourceId = m_sampleSourceDevices[index].m_sourceId;
|
|
||||||
// m_sampleSourceSerial = m_sampleSourceDevices[index].m_sourceSerial;
|
|
||||||
// m_sampleSourceSequence = m_sampleSourceDevices[index].m_sourceSequence;
|
|
||||||
|
|
||||||
qDebug() << "PluginManager::selectSampleSourceBySequence: m_sampleSource at index " << index
|
qDebug() << "PluginManager::selectSampleSourceBySequence: m_sampleSource at index " << index
|
||||||
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
<< " id: " << m_sampleSourceDevices[index].m_sourceId.toStdString().c_str()
|
||||||
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
<< " ser: " << m_sampleSourceDevices[index].m_sourceSerial.toStdString().c_str()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user