From 3650d12c87353254cd9d99cf0d087207d3e75d10 Mon Sep 17 00:00:00 2001 From: mashiros <490328928@qq.com> Date: Sun, 8 Jan 2023 15:31:42 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=96=B0=E5=A2=9E=E6=8C=82=E4=BB=B6?= =?UTF-8?q?=E6=97=B6=E7=BB=98=E5=88=B6=E7=AC=AC=E4=B8=80=E5=B8=A7=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E7=94=BB=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qml/api/AdvpCanvasTemplate.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qml/api/AdvpCanvasTemplate.qml b/qml/api/AdvpCanvasTemplate.qml index e1b9feb..ef0a0f6 100644 --- a/qml/api/AdvpCanvasTemplate.qml +++ b/qml/api/AdvpCanvasTemplate.qml @@ -34,6 +34,12 @@ Canvas { onContextChanged: { if (context) { configsUpdated(); + let _data = new Array(129); + for (let i = 0; i < 128; i++) { + _data[i] = 0; + } + _data[128] = 1; + audioDataUpdeted(_data); } }