Fix RTA peak hold and FFT band energy
This commit is contained in:
@@ -2065,6 +2065,9 @@ if (peakHistScrollSel) {
|
||||
}
|
||||
if (resetPeakBtn) {
|
||||
resetPeakBtn.addEventListener('click', () => {
|
||||
CONFIG.RTA_PEAK_RESET_TOKEN = Math.max(0, Math.floor(Number(CONFIG.RTA_PEAK_RESET_TOKEN) || 0)) + 1;
|
||||
saveConfig();
|
||||
try { env.audio.updateRtaConfig?.(); } catch (_) {}
|
||||
try {
|
||||
if (typeof window.resetRealTimeAnalyzerPeakHold === 'function') {
|
||||
window.resetRealTimeAnalyzerPeakHold();
|
||||
|
||||
Reference in New Issue
Block a user