fix: Read Aloud and auto-playback ignore the Speech Playback Speed setting (#31881)

Read Aloud and response auto-playback always played at normal speed, regardless of the Speech Playback Speed setting. The speech is played one sentence at a time, and the browser put the speed back to normal every time a new sentence started. The chosen speed now stays in effect for every sentence. Voice mode already respected the setting.

Fixes #31870
This commit is contained in:
Classic298 2026-10-05 09:15:06 +02:00 • committed by GitHub
parent 7dd9fc7076
commit 273180a0d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,6 +36,7 @@ export class AudioQueue {
}
setPlaybackRate(rate: number) {
this.audio.defaultPlaybackRate = rate;
this.audio.playbackRate = rate;
}