mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-14 08:01:46 -05:00
USB modem fix re: firhilbf c2r update
This commit is contained in:
parent
35ae486d20
commit
1a362152ee
@ -56,9 +56,8 @@ void ModemUSB::demodulate(ModemKit *kit, ModemIQData *input, AudioThreadInput *a
|
|||||||
nco_crcf_mix_down(ssbShift, input->data[i], &x);
|
nco_crcf_mix_down(ssbShift, input->data[i], &x);
|
||||||
iirfilt_crcf_execute(ssbFilt, x, &y);
|
iirfilt_crcf_execute(ssbFilt, x, &y);
|
||||||
nco_crcf_mix_up(ssbShift, y, &x);
|
nco_crcf_mix_up(ssbShift, y, &x);
|
||||||
// TODO: use fixed firhilbf_c2r usb param to simplify instead of shifting and discarding
|
float lsb_discard;
|
||||||
float usb_discard;
|
firhilbf_c2r_execute(c2rFilt, x, &lsb_discard, &demodOutputData[i]);
|
||||||
firhilbf_c2r_execute(c2rFilt, x, &demodOutputData[i], &usb_discard);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildAudioOutput(akit, audioOut, true);
|
buildAudioOutput(akit, audioOut, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user