1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-18 07:35:47 -05:00

Tx ph.1: added channel registration messages

This commit is contained in:
f4exb 2016-10-20 22:41:05 +02:00
parent 9fff2b8477
commit 6d0f783d56
2 changed files with 10 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#include "ammod.h"
const QString AMModGUI::m_channelID = "sdrangel.channel.modam";
const QString AMModGUI::m_channelID = "sdrangel.channeltx.modam";
const int AMModGUI::m_rfBW[] = {
5000, 6250, 8330, 10000, 12500, 15000, 20000, 25000, 40000

View File

@ -73,11 +73,19 @@ void PluginManager::loadPlugins()
void PluginManager::registerRxChannel(const QString& channelName, PluginInterface* plugin)
{
qDebug() << "PluginManager::registerRxChannel "
<< plugin->getPluginDescriptor().displayedName.toStdString().c_str()
<< " with channel name " << channelName;
m_rxChannelRegistrations.append(PluginAPI::ChannelRegistration(channelName, plugin));
}
void PluginManager::registerTxChannel(const QString& channelName, PluginInterface* plugin)
{
qDebug() << "PluginManager::registerTxChannel "
<< plugin->getPluginDescriptor().displayedName.toStdString().c_str()
<< " with channel name " << channelName;
m_txChannelRegistrations.append(PluginAPI::ChannelRegistration(channelName, plugin));
}
@ -94,7 +102,7 @@ void PluginManager::registerSampleSink(const QString& sinkName, PluginInterface*
{
qDebug() << "PluginManager::registerSampleSink "
<< plugin->getPluginDescriptor().displayedName.toStdString().c_str()
<< " with source name " << sinkName.toStdString().c_str();
<< " with sink name " << sinkName.toStdString().c_str();
m_sampleSinkRegistrations.append(SamplingDeviceRegistration(sinkName, plugin));
}