openhab-core/bundles/org.openhab.core.voice/src
Gwendal Roulleau 5544945d48
[tts] Cache mechanism (#3057)
* [tts] Cache mechanism

Implements a cache mechanism for all TTS services.
Eviction policy is LRU mode.
This cache can serve several streams concurrently, for the same utterance, with only one call to the TTS. It doesn't wait for the stream to end and can serve data rapidly.
Cache size is a voice bundle parameter (10 mb default)

Closes #3039

Signed-off-by: Gwendal Roulleau <gwendal.roulleau@gmail.com>
2023-02-28 08:45:44 +01:00
..
main [tts] Cache mechanism (#3057) 2023-02-28 08:45:44 +01:00
test/java/org/openhab/core/voice [tts] Cache mechanism (#3057) 2023-02-28 08:45:44 +01:00