mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
improved audio callback modout queue
This commit is contained in:
parent
4d8b8f7f46
commit
62309d608d
1 changed files with 1 additions and 4 deletions
|
@ -383,10 +383,7 @@ class RF:
|
||||||
audiobuffer.push(x)
|
audiobuffer.push(x)
|
||||||
# end of "not static.TRANSMITTING" if block
|
# end of "not static.TRANSMITTING" if block
|
||||||
|
|
||||||
|
if not self.modoutqueue or self.mod_out_locked:
|
||||||
|
|
||||||
if len(self.modoutqueue) <= 0 or self.mod_out_locked:
|
|
||||||
# if not self.modoutqueue or self.mod_out_locked:
|
|
||||||
data_out48k = np.zeros(frames, dtype=np.int16)
|
data_out48k = np.zeros(frames, dtype=np.int16)
|
||||||
self.fft_data = x
|
self.fft_data = x
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue