mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
sample pocsag data in 48kHz, too, allowing for wider filters
This commit is contained in:
parent
52199dd800
commit
887cc3a88a
|
|
@ -449,12 +449,10 @@ class dsp(object):
|
|||
return self.output_rate
|
||||
|
||||
def get_audio_rate(self):
|
||||
if self.isDigitalVoice() or self.isPacket():
|
||||
if self.isDigitalVoice() or self.isPacket() or self.isPocsag():
|
||||
return 48000
|
||||
elif self.isWsjtMode():
|
||||
return 12000
|
||||
elif self.isPocsag():
|
||||
return 12000
|
||||
return self.get_output_rate()
|
||||
|
||||
def isDigitalVoice(self, demodulator=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue