注释掉beep代码

This commit is contained in:
2024-11-22 14:50:24 +08:00
parent 4df77f15d9
commit 9b9d479caf
4 changed files with 47 additions and 53 deletions

View File

@@ -6,7 +6,6 @@ import (
"fmt"
"game-driver/config"
"game-driver/leaf"
"game-driver/pkg/audio"
"game-driver/pkg/errorsx"
"go.uber.org/zap"
"io"
@@ -47,7 +46,7 @@ func (tts *AliTTS) Sound(text string) {
}
buf, err := tts.Get(text)
if err == nil && buf != nil {
audio.PlayWav(tts.ctx, buf)
//audio.PlayWav(tts.ctx, buf)
} else {
zap.S().Errorln("AliTTS 请求异常: ", err)
}