diff --git a/en/readme/multimedia.md b/en/readme/multimedia.md index 8102568059b358e8d6c1b1966d8212fba859d2ea..330912eac3122fd5fc7fb4f1c579548ea3e9f249 100755 --- a/en/readme/multimedia.md +++ b/en/readme/multimedia.md @@ -18,7 +18,7 @@ This subsystem offers various media services covering audio, videos, and cameras - **Media**: provides playback and recording APIs for applications, and invokes the Gstreamer, Histreamer, or other engines through cross-process calling or direct calling. - For the mini system, the media component invokes Histreamer to support audio playback. - - For the small system, the media component invokes recorder_lite to support audio/video recording and invokes player_lite by default to support audio/video playback. If the system variable **debug.media_service.histreamer** is set to **1**, the component invokes Histreamer to support audio/video playback. For details, see [syspara Module](https://gitee.com/openharmony/docs/blob/master/en/device-dev/subsystems/subsys-boot-syspara.md) or [syspara_lite](https://gitee.com/openharmony/startup_syspara_lite). + - For the small system, the media component invokes recorder_lite to support audio/video recording and invokes player_lite by default to support audio/video playback. If the system variable **debug.media_service.histreamer** is set to **1**, the component invokes Histreamer to support audio/video playback. For details, see [syspara Module](https://gitee.com/openharmony/docs/blob/master/en/device-dev/subsystems/subsys-boot-init-sysparam.md) or [syspara_lite](https://gitee.com/openharmony/startup_syspara_lite). - For the standard system, the media component invokes Gstreamer to support audio/video playback and recording. - **Audio**: supports audio input and output, policy management, and audio focus management. - **Camera**: provides camera operation APIs for preview, photographing, and video recording. @@ -83,7 +83,7 @@ Hardware-based decoding and encoding functions of audio and video data are devic You can use the APIs in any of the provided classes based on your development requirements. -- For details about how to call media APIs to implement the video recording, preview, and playback, see [Multimedia Development Guide](https://gitee.com/openharmony/docs/blob/master/en/device-dev/subsystems/subsys-multimedia.md). +- For details about how to call media APIs to implement the video recording, preview, and playback, see [Multimedia Development Guide](https://gitee.com/openharmony/docs/tree/master/en/application-dev/media). - For a simple player, use **Player** and **Recorder** classes to quickly implement the playback and recording features. - The **CameraKit** class provides a group of effective methods for controlling a camera, which facilitates the camera development. - You can create a **CameraKit** object and register various callbacks to respond to many events in the multimedia module. Then, create a **Camera** object to operate camera resources, for example, to start preview, recording, and stream capturing, and set related parameters. diff --git a/zh-cn/application-dev/reference/apis/js-apis-audio.md b/zh-cn/application-dev/reference/apis/js-apis-audio.md index d11cf7f204326c6826f63265a719df589d5c1741..1b26e4c82c793b7db094bf83d02894c23dd7fe1b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-audio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-audio.md @@ -485,8 +485,8 @@ async function createTonePlayerBefore(){ | 名称 | 值 | 说明 | | --------- | -------- | -------- | -| CHANNEL_1 | 0x1 << 0 | 单声道。 | -| CHANNEL_2 | 0x1 << 1 | 双声道。 | +| CHANNEL_1 | 0x1 << 0 | 第一声道。 | +| CHANNEL_2 | 0x1 << 1 | 第二声道。 | ## AudioSamplingRate8+ diff --git "a/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" index 5ecc31d2e210e10e6f51d7e0cc2619bb854343ca..4911a5acd6f04e2885c54951898be69f49c20b08 100755 --- "a/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\345\252\222\344\275\223\345\255\220\347\263\273\347\273\237.md" @@ -26,7 +26,7 @@ - **Media**: 为应用提供播放、录制等接口,通过跨进程调用或直接调用方式,调用媒体引擎Gstreamer、Histreamer或其它引擎。 - mini设备上,Media部件调用Histreamer支持音频播放等功能。 - - small设备上,Media部件调用recorder_lite支持音视频录制,默认调用player_lite支持音视频播放,通过设置系统属性变量debug.media_service.histreamer为1使用histreamer。详细设置方法参见[syspara系统属性组件使用说明](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-boot-syspara.md)或者参见[syspara模块代码](https://gitee.com/openharmony/startup_syspara_lite)。 + - small设备上,Media部件调用recorder_lite支持音视频录制,默认调用player_lite支持音视频播放,通过设置系统属性变量debug.media_service.histreamer为1使用histreamer。详细设置方法参见[syspara系统属性组件使用说明](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-boot-init-sysparam.md)或者参见[syspara模块代码](https://gitee.com/openharmony/startup_syspara_lite)。 - standard设备上,Media部件调用Gstreamer支持音视频播放、音视频录制。 - **Audio**: Audio部件支持音频输入输出、策略管理、音频焦点管理等功能。 - **Camera**: Camera部件提供相机操作接口,支持预览、拍照、录像。 @@ -91,7 +91,7 @@ 如架构图示意,媒体提供了三大类功能接口,开发者可以根据使用诉求,综合使用一类或多类接口: -- 应用开发者使用媒体接口实现录像、预览和播放音视频,使用可以参考[多媒体开发指南](https://gitee.com/openharmony/docs/blob/master/zh-cn/device-dev/subsystems/subsys-multimedia.md)。 +- 应用开发者使用媒体接口实现录像、预览和播放音视频,使用可以参考[多媒体开发指南](https://gitee.com/openharmony/docs/tree/master/zh-cn/application-dev/media)。 - 当使用简单播放录制功能时,可以使用Player和Recorder快速完成播放和录制功能。 - 提供了一组控制相机的有效接口,可以让用户方便开发使用相机。 - 开发者先创建camerakit组件对象,注册各种事件回调,这些事件回调是用来响应多媒体模块中事件响应的,之后调用创建camera就可以创建一个操作camera资源的对象,使用这个对象可以启动预览、录像或抓拍取流,及设置取流的相关参数。