1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

Corrected device display name channel handling

This commit is contained in:
f4exb
2019-09-18 23:02:08 +02:00
parent 2d62cc74eb
commit 01f0dd906a
12 changed files with 21 additions and 12 deletions
@@ -79,7 +79,8 @@ PluginInterface::SamplingDevices SoapySDRInputPlugin::enumSampleSources(const Or
for (unsigned int ichan = 0; ichan < nbRxChannels; ichan++)
{
QString displayedName(it->displayableName.arg(ichan));
QString displayedName = it->displayableName;
displayedName.replace(QString("$1]"), QString("%1]").arg(ichan));
qDebug("SoapySDRInputPlugin::enumSampleSources: device #%d serial %s channel %u",
it->sequence, it->serial.toStdString().c_str(), ichan);
result.append(SamplingDevice(