mirror of
https://github.com/ankitects/anki.git
synced 2026-01-15 14:59:00 -05:00
Fix Record Own Voice
This commit is contained in:
parent
2bfe33a740
commit
c8898124ed
1 changed files with 2 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ from anki.scheduler.v3 import (
|
|||
SchedulingStates,
|
||||
SetSchedulingStatesRequest,
|
||||
)
|
||||
from anki.sound import SoundOrVideoTag
|
||||
from anki.tags import MARKED_TAG
|
||||
from anki.types import assert_exhaustive
|
||||
from anki.utils import is_mac
|
||||
|
|
@ -1193,7 +1194,7 @@ timerStopped = false;
|
|||
if not self._recordedAudio:
|
||||
tooltip(tr.studying_you_havent_recorded_your_voice_yet())
|
||||
return
|
||||
av_player.play_file(self._recordedAudio)
|
||||
av_player.play_tags([SoundOrVideoTag(filename=self._recordedAudio)])
|
||||
|
||||
def _clear_auto_advance_timers(self) -> None:
|
||||
if self._show_answer_timer:
|
||||
|
|
|
|||
Loading…
Reference in a new issue