summaryrefslogtreecommitdiffstats
path: root/src/plugins/tts/sapi/qtexttospeech_sapi.cpp
diff options
context:
space:
mode:
authorAxel Spoerl <[email protected]>2025-06-04 16:16:33 +0200
committerAxel Spoerl <[email protected]>2025-06-05 08:48:25 +0200
commit941882a7443a83a8346674e98b6a5ad711f588ff (patch)
tree36a626b794d510c2a9c6239b4dc8b20477de6e16 /src/plugins/tts/sapi/qtexttospeech_sapi.cpp
parent8ead156d0a8c0df723658b4cfaf246f4e4b2de00 (diff)
QTextToSpeechProcessorFlite::startTokenTimer(): Handle missing audiosinkHEADdev
QTextToSpeechProcessorFlite::startTokenTimer() reads the already played time from m_audioSink. If the first token passed to the processor is invalid, m_audioSink hasn't been created. The application crashed with a nullptr access. Assume that played time is 0, when there is no audiosink. Add an autotest. Fixes: QTBUG-128818 Pick-to: 6.10 6.9 6.8 Change-Id: I212a413967fb5b0d3a1190d2ed3f34ac434aeb77 Reviewed-by: Volker Hilsheimer <[email protected]>
Diffstat (limited to 'src/plugins/tts/sapi/qtexttospeech_sapi.cpp')
0 files changed, 0 insertions, 0 deletions