mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-04 08:21:16 -05:00
Remove unused demod buffer
This commit is contained in:
parent
63ea642c88
commit
a55dcad8be
@ -87,10 +87,8 @@ void DemodulatorThread::run() {
|
||||
if (agcData.size() != bufSize) {
|
||||
if (agcData.capacity() < bufSize) {
|
||||
agcData.reserve(bufSize);
|
||||
agcAMData.reserve(bufSize);
|
||||
}
|
||||
agcData.resize(bufSize);
|
||||
agcAMData.resize(bufSize);
|
||||
}
|
||||
|
||||
agc_crcf_execute_block(iqAutoGain, &(inp->data[0]), bufSize, &agcData[0]);
|
||||
@ -118,7 +116,7 @@ void DemodulatorThread::run() {
|
||||
AudioThreadInput *ati = NULL;
|
||||
|
||||
ModemAnalog *modemAnalog = (cModem->getType() == "analog")?((ModemAnalog *)cModem):nullptr;
|
||||
ModemDigital *modemDigital = (cModem->getType() == "digital")?((ModemDigital *)cModem):nullptr;
|
||||
// ModemDigital *modemDigital = (cModem->getType() == "digital")?((ModemDigital *)cModem):nullptr;
|
||||
|
||||
if (modemAnalog != nullptr) {
|
||||
ati = outputBuffers.getBuffer();
|
||||
|
@ -38,7 +38,6 @@ protected:
|
||||
ReBuffer<AudioThreadInput> outputBuffers;
|
||||
|
||||
std::vector<liquid_float_complex> agcData;
|
||||
std::vector<float> agcAMData;
|
||||
|
||||
agc_crcf iqAutoGain;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user