From d7db58e9af885cb6a15bceb92b552b3c84adb225 Mon Sep 17 00:00:00 2001 From: chenhao Date: Fri, 10 Jan 2025 17:23:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3AudioDeviceModuleOptions.useL?= =?UTF-8?q?owLatency=E5=B1=9E=E6=80=A7=E7=9A=84=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenhao --- sdk/ohos/api/libohos_webrtc/webrtc.d.ts | 2 +- .../har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/ohos/api/libohos_webrtc/webrtc.d.ts b/sdk/ohos/api/libohos_webrtc/webrtc.d.ts index 0e54bef2c0..d7a4de89cf 100644 --- a/sdk/ohos/api/libohos_webrtc/webrtc.d.ts +++ b/sdk/ohos/api/libohos_webrtc/webrtc.d.ts @@ -891,7 +891,7 @@ export interface AudioDeviceModuleOptions { rendererUsage?: number; // enable low latency capturing and rendering, default is false - useLowLatency?: number; + useLowLatency?: boolean; // Control if the built-in HW acoustic echo canceler should be used or not, default is false. // It is possible to query support by calling AudioDeviceModule.isBuiltInAcousticEchoCancelerSupported() diff --git a/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts b/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts index 0e54bef2c0..d7a4de89cf 100644 --- a/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts +++ b/sdk/ohos/har_hap/ohos_webrtc/src/main/libohos_webrtc/webrtc.d.ts @@ -891,7 +891,7 @@ export interface AudioDeviceModuleOptions { rendererUsage?: number; // enable low latency capturing and rendering, default is false - useLowLatency?: number; + useLowLatency?: boolean; // Control if the built-in HW acoustic echo canceler should be used or not, default is false. // It is possible to query support by calling AudioDeviceModule.isBuiltInAcousticEchoCancelerSupported() -- Gitee