mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
removed frame rate conversion
This commit is contained in:
parent
63e96ea156
commit
e71902b7ae
1 changed files with 1 additions and 2 deletions
3
modem.py
3
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue