mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-24 11:12:27 -04:00
Removed some obsolere references to legacy message pipes
This commit is contained in:
parent
323ebb85f7
commit
55a0ceadf3
@ -148,15 +148,6 @@ bool AFC::handleMessage(const Message& cmd)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (MessagePipesLegacyCommon::MsgReportChannelDeleted::match(cmd))
|
|
||||||
{
|
|
||||||
qDebug() << "AFC::handleMessage: MessagePipesLegacyCommon::MsgReportChannelDeleted";
|
|
||||||
MessagePipesLegacyCommon::MsgReportChannelDeleted& report = (MessagePipesLegacyCommon::MsgReportChannelDeleted&) cmd;
|
|
||||||
const MessagePipesLegacyCommon::ChannelRegistrationKey& channelKey = report.getChannelRegistrationKey();
|
|
||||||
MainCore::instance()->getMessagePipesLegacy().unregisterChannelToFeature(channelKey.m_key, this, "settings");
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
else if (MsgDeviceTrack::match(cmd))
|
else if (MsgDeviceTrack::match(cmd))
|
||||||
{
|
{
|
||||||
if (m_worker->isRunning())
|
if (m_worker->isRunning())
|
||||||
|
@ -282,7 +282,6 @@ void DemodAnalyzer::applySettings(const DemodAnalyzerSettings& settings, bool fo
|
|||||||
void DemodAnalyzer::updateChannels()
|
void DemodAnalyzer::updateChannels()
|
||||||
{
|
{
|
||||||
MainCore *mainCore = MainCore::instance();
|
MainCore *mainCore = MainCore::instance();
|
||||||
// MessagePipesLegacy& messagePipes = mainCore->getMessagePipesLegacy();
|
|
||||||
std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
|
std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
|
||||||
std::vector<DeviceSet*>::const_iterator it = deviceSets.begin();
|
std::vector<DeviceSet*>::const_iterator it = deviceSets.begin();
|
||||||
m_availableChannels.clear();
|
m_availableChannels.clear();
|
||||||
@ -296,10 +295,6 @@ void DemodAnalyzer::updateChannels()
|
|||||||
|
|
||||||
if (deviceSourceEngine || deviceSinkEngine)
|
if (deviceSourceEngine || deviceSinkEngine)
|
||||||
{
|
{
|
||||||
// DeviceSampleSource *deviceSource = deviceSourceEngine->getSource();
|
|
||||||
// quint64 deviceCenterFrequency = deviceSource->getCenterFrequency();
|
|
||||||
// int basebandSampleRate = deviceSource->getSampleRate();
|
|
||||||
|
|
||||||
for (int chi = 0; chi < (*it)->getNumberOfChannels(); chi++)
|
for (int chi = 0; chi < (*it)->getNumberOfChannels(); chi++)
|
||||||
{
|
{
|
||||||
ChannelAPI *channel = (*it)->getChannelAt(chi);
|
ChannelAPI *channel = (*it)->getChannelAt(chi);
|
||||||
|
@ -211,7 +211,6 @@ void JogdialController::applySettings(const JogdialControllerSettings& settings,
|
|||||||
void JogdialController::updateChannels()
|
void JogdialController::updateChannels()
|
||||||
{
|
{
|
||||||
MainCore *mainCore = MainCore::instance();
|
MainCore *mainCore = MainCore::instance();
|
||||||
// MessagePipesLegacy& messagePipes = mainCore->getMessagePipesLegacy();
|
|
||||||
std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
|
std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
|
||||||
std::vector<DeviceSet*>::const_iterator it = deviceSets.begin();
|
std::vector<DeviceSet*>::const_iterator it = deviceSets.begin();
|
||||||
m_availableChannels.clear();
|
m_availableChannels.clear();
|
||||||
@ -227,10 +226,6 @@ void JogdialController::updateChannels()
|
|||||||
|
|
||||||
if (deviceSourceEngine || deviceSinkEngine)
|
if (deviceSourceEngine || deviceSinkEngine)
|
||||||
{
|
{
|
||||||
// DeviceSampleSource *deviceSource = deviceSourceEngine->getSource();
|
|
||||||
// quint64 deviceCenterFrequency = deviceSource->getCenterFrequency();
|
|
||||||
// int basebandSampleRate = deviceSource->getSampleRate();
|
|
||||||
|
|
||||||
for (int chi = 0; chi < (*it)->getNumberOfChannels(); chi++)
|
for (int chi = 0; chi < (*it)->getNumberOfChannels(); chi++)
|
||||||
{
|
{
|
||||||
ChannelAPI *channel = (*it)->getChannelAt(chi);
|
ChannelAPI *channel = (*it)->getChannelAt(chi);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user