Remove unused demod buffer

This commit is contained in:
Charles J. Cliffe 2015-11-20 22:13:09 -05:00
parent 63ea642c88
commit a55dcad8be
2 changed files with 1 additions and 4 deletions

View File

@ -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();

View File

@ -38,7 +38,6 @@ protected:
ReBuffer<AudioThreadInput> outputBuffers;
std::vector<liquid_float_complex> agcData;
std::vector<float> agcAMData;
agc_crcf iqAutoGain;