re-wire the audio output to "null" - thanks to @dl9rdz

This commit is contained in:
Jakob Ketterl 2020-02-17 12:06:13 +01:00
parent ebba6e1ada
commit ad565c5a2b
2 changed files with 2 additions and 1 deletions

View File

@ -243,7 +243,7 @@ class dsp(object):
chain += ["csdr fmdemod_quadri_cf"] chain += ["csdr fmdemod_quadri_cf"]
if self.last_decimation != 1.0: if self.last_decimation != 1.0:
chain += ["csdr fractional_decimator_ff {last_decimation}"] chain += ["csdr fractional_decimator_ff {last_decimation}"]
return chain + ["csdr convert_f_s16", "direwolf -c {direwolf_config} -r {audio_rate} -t 0 -q d -q h - 1>&2"] return chain + ["csdr convert_f_s16", "direwolf -c {direwolf_config} -r {audio_rate} -t 0 -q d -q h 1>&2"]
elif which == "pocsag": elif which == "pocsag":
chain += ["csdr fmdemod_quadri_cf"] chain += ["csdr fmdemod_quadri_cf"]
if self.last_decimation != 1.0: if self.last_decimation != 1.0:

View File

@ -18,6 +18,7 @@ class DirewolfConfig(object):
config = """ config = """
ACHANNELS 1 ACHANNELS 1
ADEVICE stdin null
CHANNEL 0 CHANNEL 0
MYCALL {callsign} MYCALL {callsign}