From 8800c3bde17c1cf2f9c12f6c9b65595c5e1b1cd8 Mon Sep 17 00:00:00 2001 From: jiaoyanlin3 Date: Tue, 25 Jul 2023 10:27:39 +0800 Subject: [PATCH] Audio consistency Signed-off-by: jiaoyanlin3 --- .../reference/apis/js-apis-audio.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 557fcf8b11..bef6d50e4a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-audio.md +++ b/zh-cn/application-dev/reference/apis/js-apis-audio.md @@ -3491,7 +3491,7 @@ async function getCurrentAudioCapturerInfoArray(){ ### on('audioRendererChange')9+ -on(type: "audioRendererChange", callback: Callback<AudioRendererChangeInfoArray>): void +on(type: 'audioRendererChange', callback: Callback<AudioRendererChangeInfoArray>): void 监听音频渲染器更改事件。 @@ -3541,7 +3541,7 @@ audioStreamManager.on('audioRendererChange', (AudioRendererChangeInfoArray) => ### off('audioRendererChange')9+ -off(type: "audioRendererChange"): void +off(type: 'audioRendererChange'): void 取消监听音频渲染器更改事件。 @@ -3570,7 +3570,7 @@ console.info('######### RendererChange Off is called #########'); ### on('audioCapturerChange')9+ -on(type: "audioCapturerChange", callback: Callback<AudioCapturerChangeInfoArray>): void +on(type: 'audioCapturerChange', callback: Callback<AudioCapturerChangeInfoArray>): void 监听音频采集器更改事件。 @@ -3619,7 +3619,7 @@ audioStreamManager.on('audioCapturerChange', (AudioCapturerChangeInfoArray) => ### off('audioCapturerChange')9+ -off(type: "audioCapturerChange"): void; +off(type: 'audioCapturerChange'): void; 取消监听音频采集器更改事件。 @@ -5898,7 +5898,7 @@ async function onAudioInterrupt(){ ### on('markReach')8+ -on(type: "markReach", frame: number, callback: Callback<number>): void +on(type: 'markReach', frame: number, callback: Callback<number>): void 订阅到达标记的事件。 当渲染的帧数达到 frame 参数的值时,回调被调用。 @@ -5945,7 +5945,7 @@ audioRenderer.off('markReach'); ### on('periodReach') 8+ -on(type: "periodReach", frame: number, callback: Callback<number>): void +on(type: 'periodReach', frame: number, callback: Callback<number>): void 订阅到达标记的事件。 当渲染的帧数达到 frame 参数的值时,触发回调并返回设定的值。 @@ -6683,7 +6683,7 @@ async function onAudioInterrupt(){ ### on('markReach')8+ -on(type: "markReach", frame: number, callback: Callback<number>): void +on(type: 'markReach', frame: number, callback: Callback<number>): void 订阅标记到达的事件。 当采集的帧数达到 frame 参数的值时,回调被触发。 @@ -6729,7 +6729,7 @@ audioCapturer.off('markReach'); ### on('periodReach')8+ -on(type: "periodReach", frame: number, callback: Callback<number>): void +on(type: 'periodReach', frame: number, callback: Callback<number>): void 订阅到达标记的事件。 当采集的帧数达到 frame 参数的值时,触发回调并返回设定的值。 -- GitLab