Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix speechrate sent via Talkback settings.
So far we derived the current speech rate from the Voice Settings dialog only and ignored any speech rate received via onSynthesizeText(). But when using Talkback, the TTS request itself contains a combined value of the voice speech-rate setting and the Talkback adapted multiplier. To keep the previous behaviour consistent, we derive the current speed setting from the received speech-rate, adapt these settings again to our plausible values and then use the additional factor received from e.g. talkback to derive the final speech rate. Signed-off-by: Daniel Schnell <[email protected]>
- Loading branch information