Audio minor fix

prd
Ivan Maslov 2 years ago
parent c4e7dcba43
commit ab959bce2e

@ -232,9 +232,11 @@ class Recorder:
if inWaitCallbackChunkBool==True: if inWaitCallbackChunkBool==True:
for lItemThread in self.mCallbackChunkDefThreadList: for lItemThread in self.mCallbackChunkDefThreadList:
if lItemThread.is_alive(): lItemThread.join() if lItemThread.is_alive(): lItemThread.join()
self.mCallbackChunkDefThreadList = []
if inWaitCallbackStopBool==True: if inWaitCallbackStopBool==True:
for lItemThread in self.mCallbackStopDefThreadList: for lItemThread in self.mCallbackStopDefThreadList:
if lItemThread.is_alive(): lItemThread.join() if lItemThread.is_alive(): lItemThread.join()
self.mCallbackStopDefThreadList = []
def CaptureStop(self, inWaitStream=True, inExtra=None): def CaptureStop(self, inWaitStream=True, inExtra=None):
"""L-,W+: Остановить захват аудио """L-,W+: Остановить захват аудио

Loading…
Cancel
Save