mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
降低音乐识别频次
This commit is contained in:
parent
2801cd35ad
commit
84399d5c3d
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user