restructure the code to have the parser sit where all the parsers sit

This commit is contained in:
Jakob Ketterl
2019-08-15 15:45:15 +02:00
parent 7beb773a37
commit 0207374592
7 changed files with 238 additions and 185 deletions

View File

@ -235,7 +235,7 @@ class dsp(object):
chain = secondary_chain_base + "csdr fmdemod_quadri_cf | "
if self.last_decimation != 1.0:
chain += "csdr fractional_decimator_ff {last_decimation} | "
chain += "csdr convert_f_s16 | direwolf -r {audio_rate} -t 0 -"
chain += "csdr convert_f_s16 | direwolf -r {audio_rate} -t 0 - 1>&2"
return chain
def set_secondary_demodulator(self, what):