From a175d89391d92fbdf61cbc08d60817d5108c7870 Mon Sep 17 00:00:00 2001 From: zengjingjing Date: Thu, 30 May 2024 11:08:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=81=94=E7=B3=BB=E4=BA=BA=E6=8C=89=E9=94=AE?= =?UTF-8?q?=E9=9F=B3=E6=8C=89=E8=A6=81=E6=B1=82=E8=AE=BE=E7=BD=AEusage?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=BASTREAM=5FUSAGE=5FDTMF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zengjingjing --- entry/src/main/ets/presenter/dialer/DialerPresenter.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/presenter/dialer/DialerPresenter.ets b/entry/src/main/ets/presenter/dialer/DialerPresenter.ets index a8f59cd..6a7ad44 100644 --- a/entry/src/main/ets/presenter/dialer/DialerPresenter.ets +++ b/entry/src/main/ets/presenter/dialer/DialerPresenter.ets @@ -269,8 +269,8 @@ export default class DialerPresenter { let that = this; let tonePlayer = null; let audioRendererInfo = { - content: 5, - usage: 6, + content: audio.ContentType.CONTENT_TYPE_UNKNOWN, + usage: audio.StreamUsage.STREAM_USAGE_DTMF, rendererFlags: 0 }; -- Gitee