reduce demod I/Q AGC bandwidth for better raw output

This commit is contained in:
Charles J. Cliffe 2015-07-17 19:14:39 -04:00
parent 364e1333f5
commit be1055a2c7
1 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ void DemodulatorThread::threadMain() {
// Automatic IQ gain
iqAutoGain = agc_crcf_create();
agc_crcf_set_bandwidth(iqAutoGain, 0.9);
agc_crcf_set_bandwidth(iqAutoGain, 0.1);
AudioThreadInput *ati_vis = new AudioThreadInput;
ati_vis->data.reserve(DEMOD_VIS_SIZE);
@ -372,8 +372,8 @@ void DemodulatorThread::threadMain() {
if (demodulatorType == DEMOD_TYPE_RAW) {
for (int i = 0; i < stereoSize / 2; i++) {
ati_vis->data[i] = ati->data[i * 2] * 0.5;
ati_vis->data[i + stereoSize / 2] = ati->data[i * 2 + 1] * 0.5;
ati_vis->data[i] = ati->data[i * 2] * 0.75;
ati_vis->data[i + stereoSize / 2] = ati->data[i * 2 + 1] * 0.75;
}
} else {
for (int i = 0; i < stereoSize / 2; i++) {