No more countless annoying 'audio not found' warnings

This commit is contained in:
2025-10-31 14:27:47 -05:00
parent c877f70d1d
commit 26d5b60d33

View File

@@ -71,6 +71,7 @@
(_withoutForbiddenCharacters text (.split "#%&{}\\<>*?/\$!'\":@+`|=" "")))
(method :Void playScreenReaderText [text &opt :Void->Void cc]
(unless (< 0 (Lambda.count screenReaderAudio)) (return))
// stop any currently playing text
// TODO is it right that the cc will never be called?
(currentAudio?.stop)