Fix TTS play during recording / transcription
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user