From 2ce0323ba586807a2b6347dbf9f17126a099b8e6 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Sun, 1 Mar 2026 04:01:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B1=86=E5=8C=85=20A?= =?UTF-8?q?SR=20=E9=9F=B3=E9=A2=91=E6=A0=BC=E5=BC=8F=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8Cformat=20=E5=BA=94=E4=B8=BA=20pcm=EF=BC=8Ccodec=20?= =?UTF-8?q?=E5=BA=94=E4=B8=BA=20raw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/asr/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/asr/client.go b/internal/asr/client.go index bda6052..e6030c8 100644 --- a/internal/asr/client.go +++ b/internal/asr/client.go @@ -63,8 +63,8 @@ func Dial(cfg Config, resultCh chan<- wsMsg.ServerMsg) (*Client, error) { req := &FullClientRequest{ User: UserMeta{UID: connID}, Audio: AudioMeta{ - Format: "raw", - Codec: "pcm", + Format: "pcm", + Codec: "raw", Rate: 16000, Bits: 16, Channel: 1,