|
|
|
@ -238,8 +238,8 @@ class Recorder:
|
|
|
|
|
:type inExtra: any, опционально
|
|
|
|
|
"""
|
|
|
|
|
self.mCaptureBool=False
|
|
|
|
|
if inWaitStream == True: self.mCaptureThread.join()
|
|
|
|
|
self.mStream.stop_stream()
|
|
|
|
|
if inWaitStream == True: self.mCaptureThread.join()
|
|
|
|
|
self.mStream.close()
|
|
|
|
|
#Close module
|
|
|
|
|
self.mAudio.terminate()
|
|
|
|
|