From 6d87095182db28728f71e0728cde1f2587ba6225 Mon Sep 17 00:00:00 2001 From: wdvxdr Date: Fri, 25 Sep 2020 22:14:31 +0800 Subject: [PATCH] fix silk --- client/tts.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/tts.go b/client/tts.go index 46b465a5..dc466520 100644 --- a/client/tts.go +++ b/client/tts.go @@ -40,5 +40,7 @@ func (c *QQClient) GetTts(text string) ([]byte, error) { } ttsReader.ReadBytes(2) } - return ttsWriter.Bytes(), nil + ret := ttsWriter.Bytes() + ret[0] = '\x02' + return ret, nil }