From: hcj <1224667075@qq.com> Date: Thu, 11 Jul 2024 03:51:24 +0000 (+0800) Subject: 改为msbc X-Git-Tag: release_V1.2.70_20241020_135402~831^2~1 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F500%2F2;p=mirrors%2FFD230.git 改为msbc --- 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)