From be7ae79eee9022fc9433aa715c9153b60b3fb6ad Mon Sep 17 00:00:00 2001 From: wusongqing Date: Wed, 30 Mar 2022 19:14:48 +0800 Subject: [PATCH] updated docs Signed-off-by: wusongqing --- en/application-dev/media/audio-recorder.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/media/audio-recorder.md b/en/application-dev/media/audio-recorder.md index 138b1de2de..56f72dc5a4 100644 --- a/en/application-dev/media/audio-recorder.md +++ b/en/application-dev/media/audio-recorder.md @@ -16,7 +16,7 @@ During audio recording, audio signals are captured, encoded, and saved to files. ## How to Develop -For details about the APIs used for audio recording, see [js-apis-media.md](../reference/apis/js-apis-media.md). +For details about the APIs, see [AudioRecorder in the Media API](../reference/apis/js-apis-media.md). ### Full-Process Scenario @@ -127,7 +127,7 @@ import mediaLibrary from '@ohos.multimedia.mediaLibrary' let testFdNumber; -function SetCallBack(audioPlayer) { +function SetCallBack(audioRecorder) { audioRecorder.on('prepare', () => { // Set the 'prepare' event callback. console.log('prepare success'); // The recording page is ready. You can click the Record button to start recording. -- GitLab