新增: 音频可视化壁纸主题(WASAPI+FFT+Canvas)

This commit is contained in:
2026-05-30 22:29:19 +08:00
parent cd7247d880
commit 1f892fc390
13 changed files with 839 additions and 15 deletions

View File

@@ -79,6 +79,15 @@ func onSystrayReady() {
go knowledgeLoop()
go startPhotoLoop()
go runAutoUpdateCheck()
// 音频可视化:启动后检查是否需要音频捕获
go func() {
time.Sleep(2 * time.Second)
cfg := loadConfig()
if cfg.WallpaperType == WPTheme && cfg.Theme == ThemeAudioViz {
startAudioCapture()
}
}()
}
func startWebView() {