1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

REST API: channels update

This commit is contained in:
f4exb
2019-12-29 19:19:23 +01:00
parent 884f83c82a
commit cda925faab
7 changed files with 80 additions and 18 deletions
@@ -246,4 +246,13 @@ bool InterferometerBaseband::handleMessage(const Message& cmd)
qDebug("InterferometerBaseband::handleMessage: unhandled: %s", cmd.getIdentifier());
return false;
}
}
}
void InterferometerBaseband::setBasebandSampleRate(unsigned int sampleRate)
{
for (int istream = 0; istream < 2; istream++)
{
m_channelizers[istream]->setBasebandSampleRate(sampleRate);
m_sinks[istream].reset();
}
}