Anki/qt
Damien Elmes f30853f5ed fix audio getting stuck (1/2)
The problem was caused by stop() doing a spin loop on the main
thread waiting for the completion signal. This prevented Qt's run
loop from executing, and so the completion signal was never delivered,
meaning longer files would time out.

Fixed by reworking the code so that stop() does not block at all -
instead it just sets the termination flag, and AVPlayer does not
unset current_player. Then when the completion callback fires, it
can advance to the next file.

TTS code still needs updating, and the lock should be safe to remove
as the start/stop logic is all on the main thread.
2020-03-15 09:26:31 +10:00
..
aqt fix audio getting stuck (1/2) 2020-03-15 09:26:31 +10:00
aqt_data/web show spinner when media sync active, click to reveal dialog 2020-02-17 08:40:16 +10:00
designer add switch in prefs for new timezone handling code; bump sync version 2020-03-10 17:50:18 +10:00
ftl Merge branch 'master' into more_precise_config_error_message 2020-03-09 19:41:26 +10:00
po copy ftl to source folder in extra-po-string as well 2020-03-12 19:53:52 +10:00
tests FString -> TR 2020-02-27 12:25:19 +10:00
tools hook single_addon_selected 2020-03-09 12:45:10 +01:00
ts fix missing zero count styling, and tweak colours 2020-03-12 20:01:25 +10:00
.gitignore merge i18n into qt/ 2020-01-03 07:59:00 +10:00
.isort.cfg make sure isort preserves ordering if anki installed into python env 2020-01-03 13:34:51 +10:00
.pylintrc tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.1 tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.desktop Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
anki.png tweaking the folder names again 2020-01-03 07:48:38 +10:00
anki.xml Add .ankiaddon mime-type on Linux and register Anki as its handler 2020-01-03 17:58:11 +01:00
anki.xpm tweaking the folder names again 2020-01-03 07:48:38 +10:00
Makefile stop fetching qt translations as part of recompile step 2020-02-27 20:38:05 +10:00
mypy.ini Apply mypy improvements to aqt 2020-02-26 22:27:58 -05:00
pkgkey.asc tweaking the folder names again 2020-01-03 07:48:38 +10:00
requirements.dev tweaking the folder names again 2020-01-03 07:48:38 +10:00
requirements.qt tweaking the folder names again 2020-01-03 07:48:38 +10:00
runanki tweaking the folder names again 2020-01-03 07:48:38 +10:00
setup.py use night mode when dark mode active, using standard macOS theme 2020-01-31 13:15:08 +10:00