diff --git a/csdr/__init__.py b/csdr/__init__.py index c39f12c..2ac0d7a 100644 --- a/csdr/__init__.py +++ b/csdr/__init__.py @@ -118,7 +118,7 @@ class Dsp(DirewolfConfigSubscriber): if self.fft_compression == "adpcm": chain += ["csdr compress_fft_adpcm_f_u8 {fft_size}"] return chain - chain += ["csdr shift_addfast_cc --fifo {shift_pipe}"] + chain += ["csdr++ shift --fifo {shift_pipe}"] if self.decimation > 1: chain += ["csdr fir_decimate_cc {decimation} {ddc_transition_bw} HAMMING"] chain += ["csdr bandpass_fir_fft_cc --fifo {bpf_pipe} {bpf_transition_bw} HAMMING"] @@ -257,7 +257,7 @@ class Dsp(DirewolfConfigSubscriber): return chain elif which == "bpsk31" or which == "bpsk63": return chain + [ - "csdr shift_addfast_cc --fifo {secondary_shift_pipe}", + "csdr++ shift --fifo {secondary_shift_pipe}", "csdr bandpass_fir_fft_cc -{secondary_bpf_cutoff} {secondary_bpf_cutoff} {secondary_bpf_cutoff}", "csdr simple_agc_cc 0.001 0.5", "csdr timing_recovery_cc GARDNER {secondary_samples_per_bits} 0.5 2 --add_q", diff --git a/owrx/source/resampler.py b/owrx/source/resampler.py index 03c2097..141a721 100644 --- a/owrx/source/resampler.py +++ b/owrx/source/resampler.py @@ -23,7 +23,7 @@ class Resampler(DirectSource): def getCommand(self): return [ "nc -v 127.0.0.1 {nc_port}".format(nc_port=self.sdr.getPort()), - "csdr shift_addfast_cc {shift}".format(shift=self.shift), + "csdr++ shift {shift}".format(shift=self.shift), "csdr fir_decimate_cc {decimation} {ddc_transition_bw} HAMMING".format( decimation=self.decimation, ddc_transition_bw=self.transition_bw ),