From 8b2b20649c62fdfefa791b1b157d66ae70146207 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Thu, 24 Mar 2022 11:08:07 +0800 Subject: [PATCH] update docs Signed-off-by: zengyawen --- zh-cn/application-dev/media/audio-recorder.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/media/audio-recorder.md b/zh-cn/application-dev/media/audio-recorder.md index 8c2bc3b74c..fdc08dad06 100644 --- a/zh-cn/application-dev/media/audio-recorder.md +++ b/zh-cn/application-dev/media/audio-recorder.md @@ -127,7 +127,7 @@ import mediaLibrary from '@ohos.multimedia.mediaLibrary' let testFdNumber; -function SetCallBack(audioPlayer) { +function SetCallBack(audioRecorder) { audioRecorder.on('prepare', () => { // 设置'prepare'事件回调 console.log('prepare success'); // 录制界面可切换至已准备好,可点击录制按钮进行录制 -- GitLab