f30853f5ed
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. |
||
---|---|---|
.github | ||
meta | ||
proto | ||
pylib | ||
qt | ||
react | ||
rslib | ||
rspy | ||
svelte | ||
tslib | ||
.gitignore | ||
CONTRIBUTORS | ||
LICENSE | ||
Makefile | ||
pkgkey.asc | ||
README.contributing | ||
README.development | ||
README.md | ||
run |
This repo contains all the code for the computer version of Anki.
If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://anki.tenderapp.com/discussions/beta-testing
For more information on building, please see README.development
If you'd like to contribute code, please see README.contributing