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
|
return self.output_rate
|
||||||
|
|
||||||
def get_audio_rate(self):
|
def get_audio_rate(self):
|
||||||
if self.isDigitalVoice() or self.isPacket():
|
if self.isDigitalVoice() or self.isPacket() or self.isPocsag():
|
||||||
return 48000
|
return 48000
|
||||||
elif self.isWsjtMode():
|
elif self.isWsjtMode():
|
||||||
return 12000
|
return 12000
|
||||||
elif self.isPocsag():
|
|
||||||
return 12000
|
|
||||||
return self.get_output_rate()
|
return self.get_output_rate()
|
||||||
|
|
||||||
def isDigitalVoice(self, demodulator=None):
|
def isDigitalVoice(self, demodulator=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user