From 71d50240de4d23af86c52ace80140d19266b7616 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 26 Jun 2023 02:10:08 -0700 Subject: Bugfix: Transcript no longer repeats when paused in desktop Hitting the desktop keybinding to stop transcription would sometimes cause the last transcript to repeeat itself. --- Scripts/transcribe.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Scripts') diff --git a/Scripts/transcribe.py b/Scripts/transcribe.py index 51d7e0a..56c4515 100644 --- a/Scripts/transcribe.py +++ b/Scripts/transcribe.py @@ -437,6 +437,7 @@ def readKeyboardInput(audio_state, enable_local_beep: bool, audio_state.transcribe_sleep_duration = audio_state.transcribe_sleep_duration_min_s audio_state.audio_paused = True + resetAudioLocked(audio_state) if enable_local_beep == 1: playsound(os.path.abspath("Resources/Sounds/Noise_Off_Quiet.wav"), -- cgit v1.2.3