removed frame rate conversion

This commit is contained in:
DJ2LS 2021-01-30 17:40:03 +01:00 committed by GitHub
parent 63e96ea156
commit e71902b7ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)