diff --git a/modem.py b/modem.py index 633ce89d..ae0f128b 100644 --- a/modem.py +++ b/modem.py @@ -221,8 +221,7 @@ class RF(): nin = int(nin*(static.AUDIO_SAMPLE_RATE_RX/static.MODEM_SAMPLE_RATE)) data_in = self.stream_rx.read(nin, exception_on_overflow = False) - data_in = audioop.ratecv(data_in,2,1,static.AUDIO_SAMPLE_RATE_RX, static.MODEM_SAMPLE_RATE, None) - data_in = data_in[0].rstrip(b'\x00') + data_in = data_in.rstrip(b'\x00') #print(data_in)