sending signalling frames twice

test to see if we could improve channel quality
This commit is contained in:
DJ2LS 2021-08-07 12:30:23 +02:00 committed by GitHub
parent 6dbee32f08
commit be1ff1023e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,7 +237,9 @@ class RF():
converted_audio = audioop.ratecv(self.streambuffer,2,1,static.MODEM_SAMPLE_RATE, static.AUDIO_SAMPLE_RATE_TX, None)
self.streambuffer = bytes(converted_audio[0])
print(len(self.streambuffer))
self.streambuffer += bytes(converted_audio[0])
print(len(self.streambuffer))
# -------------- transmit audio
#logging.debug("SENDING SIGNALLING FRAME " + str(data_out))