Flite: Add retry loop when writing to QIODevice
The QIODevice does not necessarily accept arbitrary amount of data to be
pushed to the QAudioSink. So we improve the error handling to add a
retry loop, trying to push data for 5 seconds. If the data doesn't
arrive there within that time, something may have gone wrong.
Pick-to: 6.8 6.9 6.10
Fixes: QTBUG-137735
Change-Id: Ia5882e378c6a85780abab96d97d4ed4f69214fa4
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | a26c05c454ac44a7b014d253aaa2ba15c13b0378 |
| parent | 37a56c80cc9c27e20ad471211543704a9cf648ea |
| author | Tim Blechmann <tim@klingt.org> |
| committer | Tim Blechmann <tim@klingt.org> |
| commit time | Thu, 19 Jun 2025 07:52:18 +0800 |