You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: disable background throttling when visualizer is active
Chromium aggressively throttles setInterval in minimized/hidden
BrowserWindows down to ~1000ms intervals. Since the audio FFT
analysis runs in the main renderer via setInterval, minimizing or
closing the main window caused the visualizer to become choppy.
Call mainWindow.webContents.setBackgroundThrottling(false) when the
visualizer is enabled to keep the audio data loop running at full
~30fps. Re-enable throttling when the visualizer is disabled or
the plugin is cleaned up.
0 commit comments