diff --git a/qt/aqt/tts.py b/qt/aqt/tts.py index 533359229..f80bcf6bd 100644 --- a/qt/aqt/tts.py +++ b/qt/aqt/tts.py @@ -257,11 +257,9 @@ class MacTTSFilePlayer(MacTTSPlayer): # inject file into the top of the audio queue from aqt.sound import av_player + av_player.current_player = None av_player.insert_file(self.tmppath) - # then tell player to advance, which will cause the file to be played - cb() - # Windows support ########################################################################## @@ -612,7 +610,5 @@ if is_win: # inject file into the top of the audio queue from aqt.sound import av_player + av_player.current_player = None av_player.insert_file(self.tmppath) - - # then tell player to advance, which will cause the file to be played - cb()