From fe866cbc41859edbe829fc2658b7f503b7690a42 Mon Sep 17 00:00:00 2001 From: hcj <1224667075@qq.com> Date: Thu, 11 Jul 2024 11:51:24 +0800 Subject: [PATCH] =?utf8?q?=E6=94=B9=E4=B8=BAmsbc?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../wearable/service/ble_service/bleservice/bleEvent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c index 48fc3c9b2..b8b2102de 100644 --- a/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c +++ b/code/sdk/application/wearable/service/ble_service/bleservice/bleEvent.c @@ -3906,7 +3906,7 @@ static void GetPasswordCmd(uint16_t cmd,uint8_t *data,uint16_t len,uint8_t *tota #ifdef AI_USE_PCM #define AI_RECORD_PCM_PATH "/user/userdata/AiRecording/AIAudio.pcm" #else -#define AI_RECORD_SBC_PATH "/user/userdata/AiRecording/AIAudio.sbc" +#define AI_RECORD_SBC_PATH "/user/userdata/AiRecording/AIAudio.msbc" #endif bool get_AI_PATH_and_size(char *path,uint32_t *size) @@ -3914,7 +3914,7 @@ bool get_AI_PATH_and_size(char *path,uint32_t *size) #ifdef AI_USE_PCM memcpy((void*)path,AI_RECORD_PCM_PATH,strlen(AI_RECORD_PCM_PATH)); #else - #define AI_RECORD_SBC_PATH "/user/userdata/AiRecording/AIAudio.sbc" + memcpy((void*)path,AI_RECORD_SBC_PATH,strlen(AI_RECORD_SBC_PATH)); #endif FILE *fp= fopen(path,"r+"); if(fp) -- 2.17.1