QTextToSpeechProcessorFlite::startTokenTimer(): Handle missing audiosink
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 <volker.hilsheimer@qt.io>