From 84399d5c3dc0bc224c15b93a3ba12eb2b94374d2 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Sun, 4 Feb 2024 17:08:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=8D=E4=BD=8E=E9=9F=B3=E4=B9=90=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E9=A2=91=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 208fd65..b12cf94 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -941,7 +941,7 @@ namespace VPet_Simulator.Windows return; catch_MusicVolSum += AudioPlayingVolume(); catch_MusicVolCount++; - if (catch_MusicVolCount >= 20) + if (catch_MusicVolCount >= 10) { double ans = catch_MusicVolSum / catch_MusicVolCount; catch_MusicVolSum /= 4; @@ -1414,7 +1414,7 @@ namespace VPet_Simulator.Windows } //音乐识别timer加载 - MusicTimer = new System.Timers.Timer(100) + MusicTimer = new System.Timers.Timer(200) { AutoReset = false };