Fix TTS play during recording / transcription

This commit is contained in:
dwrz
2026-06-30 10:07:34 +00:00
parent addd99a1ac
commit c500b23372

View File

@@ -1241,6 +1241,7 @@ class Odidere {
*/
#enqueueTTS(text, voice, messageId) {
if (!text || !this.ttsURL) return;
if (this.isRecording || this.isTranscribing) return;
this.playQueue.push({ text, voice, messageId });
if (!this.isPlaying) {
this.#processQueue();