修改采样率
authorhcj <1224667075@qq.com>
Wed, 15 Oct 2025 06:14:19 +0000 (14:14 +0800)
committerhcj <1224667075@qq.com>
Wed, 15 Oct 2025 06:14:19 +0000 (14:14 +0800)
code/sdk/zhihui/leiniao/imsl_ln/ln_api_websocket.c

index 858b4f4..a1ce0da 100644 (file)
@@ -889,7 +889,7 @@ void ln_ws_audio_init(void)
     AIVoiceAudioParams audioParams_out = {
         .audioFormat = MP3,
         .channelCount = 1,
-        .sampleRate = 8000
+        .sampleRate = 16000
     };
 
     old_Start_AIVoice(AIVoiceDataCallback_ln,NULL,&audioParams_in,&audioParams_out,false);