grammatek / simaromur

Icelandic TTS (text-to-speech) service for Android
Apache License 2.0
8 stars 2 forks source link

Revamp voice version handling and cache cleanup #131

Closed lumpidu closed 1 year ago

lumpidu commented 1 year ago

This is a bug fix for deleting cached utterances in case of fast voices. Because of the calculation of the RTF (realtime factor) even for the case of reading from cached utterances, any cache item was deleted after being played, if the setting rm_cache_item_for_fast_voices was set to true, which is the default. Furthermore, the missing version info for the cache item caused cache handling bugs that took the version info into account.