Flite: immediately invoke sayingWord in flite callback


The original code tried to delay emitting sayingWord until the data is
actually processed by the QAudioSink. However the use of a timer didn't
work here, as the timer required an active event loop, while no event
loop was served.
It is less complex to immediately emit sayingWord when the initial chunk
is written to the QIODevice. Setting the ringbuffer size to 100ms, it
should be below perception.

Fixes: QTBUG-137855
Pick-to: 6.8 6.9 6.10
Change-Id: I47480571dad9813706175224192ba31afb28b70e
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
commit477dce881323ff78679ce87384f521d62779f90a
parent571498288ad2e11d74a97870ce18da63c10615a2
authorTim Blechmann <tim@klingt.org>
committerTim Blechmann <tim@klingt.org>
commit timeThu, 19 Jun 2025 08:23:59 +0800