mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
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:
parent
7dd9fc7076
commit
273180a0d7
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ export class AudioQueue {
|
|||
}
|
||||
|
||||
setPlaybackRate(rate: number) {
|
||||
this.audio.defaultPlaybackRate = rate;
|
||||
this.audio.playbackRate = rate;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue