From a6b2b1033a8a731e5311d06bf1c3c5ed04aaff4b Mon Sep 17 00:00:00 2001 From: zhujie81 Date: Thu, 9 Jun 2022 16:30:15 +0800 Subject: [PATCH] Add setInterrupt interface of docs Signed-off-by: zhujie81 --- zh-cn/application-dev/media/audio-interruptmode.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zh-cn/application-dev/media/audio-interruptmode.md b/zh-cn/application-dev/media/audio-interruptmode.md index 121cf5677b..bace6aa979 100644 --- a/zh-cn/application-dev/media/audio-interruptmode.md +++ b/zh-cn/application-dev/media/audio-interruptmode.md @@ -19,6 +19,8 @@ 该实例可用于音频渲染、控制和获取采集状态,以及注册通知回调。
```js + import audio from '@ohos.multimedia.audio'; + var audioStreamInfo = { samplingRate: audio.AudioSamplingRate.SAMPLE_RATE_44100, channels: audio.AudioChannel.CHANNEL_1, -- GitLab