diff --git a/en/application-dev/media/Readme-EN.md b/en/application-dev/media/Readme-EN.md index 3d5ad83f4113c75a3282a8e6a559cf67d71fbab5..b5012b28ac7d60e147562d239791d7d878284152 100755 --- a/en/application-dev/media/Readme-EN.md +++ b/en/application-dev/media/Readme-EN.md @@ -6,11 +6,11 @@ - [Audio Playback Development](audio-playback.md) - - [Audio Playback Development Using AudioRenderer](audio-renderer.md) + - [Audio Rendering Development](audio-renderer.md) - [Audio Recording Development](audio-recorder.md) - - [Audio Recorder Development Using AudioCapturer](audio-capturer) + - [Audio Capture Development](audio-capturer) - Video diff --git a/en/application-dev/media/audio-capturer.md b/en/application-dev/media/audio-capturer.md index a5762b949e5f870f0d6bece4cee17486ca5a02bf..00ff76707d2e8d6a2d0ee7dee92fbe8ff92adc84 100644 --- a/en/application-dev/media/audio-capturer.md +++ b/en/application-dev/media/audio-capturer.md @@ -1,4 +1,4 @@ -# Audio Recorder Development Using AudioCapturer +# Audio Capture Development --- ## ***Note***: @@ -41,7 +41,7 @@ Here's an example of how to use AudioCapturer to capture a raw audio file. 2. (Optional) Subscribe to audio capturer state change events using the **on('stateChange')** API. If an application wants to take some action based on the state updates in capturer, the application can subscribe to the state change event. - There are more events that applications can subscribe to, such as 'markReach' and 'periodReach'. Refer to [**js-apis-audio.md**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-audio.md) for more details. + There are more events that applications can subscribe to, such as 'markReach' and 'periodReach'. Refer to [Audio](../reference/apis/js-apis-audio.md) for more details. ``` audioCapturer.on('stateChange',(state) => { console.info('AudioCapturerLog: Changed State to : ' + state) @@ -149,4 +149,4 @@ That is, the AudioCapturer has an internal state that the application must alway The system may throw an error/exception or generate other undefined behaviour if the application performs an operation while capturer is in an improper state. ## **Other APIs** -See [**js-apis-audio.md**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-audio.md) for more useful APIs like **getAudioTime**, **getCapturerInfo** and **getStreamInfo**. +See [AudioCapturer in the Audio API](../reference/apis/js-apis-audio.md) for more useful APIs like **getAudioTime**, **getCapturerInfo** and **getStreamInfo**. diff --git a/en/application-dev/media/audio-playback.md b/en/application-dev/media/audio-playback.md index a8ea5a537fb0090b79d0449270ffbe09cc9178f2..2124319f5e48f70657ce21c8d4f90b35136b2a37 100644 --- a/en/application-dev/media/audio-playback.md +++ b/en/application-dev/media/audio-playback.md @@ -16,7 +16,7 @@ You can use audio playback APIs to convert audio data into audible analog signal ## How to Develop -For details about the APIs used for audio playback, see [js-apis-media.md](../reference/apis/js-apis-media.md). +For details about the APIs used for audio playback, see [AudioPlayer in the Media API](../reference/apis/js-apis-media.md). ### Full-Process Scenario diff --git a/en/application-dev/media/audio-renderer.md b/en/application-dev/media/audio-renderer.md index 251b6bf822a67f305ab1c28d502ab5b35be20793..f9dfb75c2a08d6c8d641bbe0c8e7960efc6bc6ee 100644 --- a/en/application-dev/media/audio-renderer.md +++ b/en/application-dev/media/audio-renderer.md @@ -1,4 +1,4 @@ -# Audio Playback Development Using AudioRenderer +# Audio Rendering Development --- ## ***Note***: @@ -17,7 +17,7 @@ When a higher priority stream wants to play, the AudioRenderer framework interru For example, if a call is arrived when you listen to music, the music playback, which is the lower priority stream, is paused.\ With the sample code below, we'll look at how AudioInterrupt works in detail.\
-Please see [**js-apis-audio.md**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-audio.md) for a list of supported audio stream types and formats, such as AudioSampleFormat, AudioChannel, AudioSampleFormat, and AudioEncodingType. +Please see [AudioRenderer in the Audio API](../reference/apis/js-apis-audio.md#audiorenderer8) for a list of supported audio stream types and formats, such as AudioSampleFormat, AudioChannel, AudioSampleFormat, and AudioEncodingType. ## **Usage** @@ -267,8 +267,8 @@ The system may throw an error/exception or generate other undefined behaviour if ## **Asynchronous Operations:** Most of the AudioRenderer calls are asynchronous. As a result, the UI thread will not be blocked.\ For each API, the framework provides both callback and promises functions.\ -In the example, promise functions are used for simplicity. [**js-apis-audio.md**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-audio.md) +In the example, promise functions are used for simplicity. [AudioRender in the Audio API](../reference/apis/js-apis-audio.md#audiorenderer8) provides reference for both callback and promise. ## **Other APIs:** -See [**js-apis-audio.md**](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis/js-apis-audio.md) for more useful APIs like getAudioTime, drain, and getBufferSize. +See [Audio](../reference/apis/js-apis-audio.md) for more useful APIs like getAudioTime, drain, and getBufferSize. diff --git a/en/application-dev/media/video-recorder.md b/en/application-dev/media/video-recorder.md index 11af1d39846ee5216d7b40cd4ec24b3e22179eb5..dc036c1240e48732e063e45841d93a4c1f766f9f 100644 --- a/en/application-dev/media/video-recorder.md +++ b/en/application-dev/media/video-recorder.md @@ -16,7 +16,7 @@ During video recording, audio and video signals are captured, encoded, and saved ## How to Develop -For details about the APIs used for video recording, see [js-apis-media.md](../reference/apis/js-apis-media.md). +For details about the APIs used for video recording, see [VideoRecorder in the Media API](../reference/apis/js-apis-media.md). ### Full-Process Scenario diff --git a/en/application-dev/website.md b/en/application-dev/website.md index f910c4bacdaa086b525610972f99a3154b232ea0..9d38fc45ce59e65370f038eec7ced819afffcc4e 100644 --- a/en/application-dev/website.md +++ b/en/application-dev/website.md @@ -149,9 +149,9 @@ - Audio - [Audio Overview](media/audio-overview.md) - [Audio Playback Development](media/audio-playback.md) - - [Audio Playback Development Using AudioRenderer](media/audio-renderer.md) + - [Audio Rendering Development](media/audio-renderer.md) - [Audio Recording Development](media/audio-recorder.md) - - [Audio Recorder Development Using AudioCapturer](media/audio-capturer) + - [Audio Capture Development](media/audio-capturer) - Video - [Video Playback Development](media/video-playback.md) - [Video Recording Development](media/video-recorder.md)