mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-12 23:26:10 -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);
|
||||
iirfilt_crcf_execute(ssbFilt, x, &y);
|
||||
nco_crcf_mix_up(ssbShift, y, &x);
|
||||
// TODO: use fixed firhilbf_c2r usb param to simplify instead of shifting and discarding
|
||||
float usb_discard;
|
||||
firhilbf_c2r_execute(c2rFilt, x, &demodOutputData[i], &usb_discard);
|
||||
float lsb_discard;
|
||||
firhilbf_c2r_execute(c2rFilt, x, &lsb_discard, &demodOutputData[i]);
|
||||
}
|
||||
|
||||
buildAudioOutput(akit, audioOut, true);
|
||||
|
Loading…
Reference in New Issue
Block a user