From 0cbfa4d3f400784f1ad0e18865536f9b3fc7e622 Mon Sep 17 00:00:00 2001 From: tryptz Date: Wed, 8 Apr 2026 06:00:35 -0400 Subject: [PATCH] Update js/audio-context.js Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- js/audio-context.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/audio-context.js b/js/audio-context.js index fed7887..d17f95c 100644 --- a/js/audio-context.js +++ b/js/audio-context.js @@ -373,15 +373,13 @@ class AudioContextManager { } /** - * Update a filter chain in-place. Returns true if reconnect is needed. + * Update an existing filter chain in place. * @param {Array} chain - Filter array to update (this.filters, this.midFilters, or this.sideFilters) * @param {Array} freqs - New frequencies * @param {Array} types - New filter types * @param {Array} qs - New Q values * @param {Array} gains - New gain values * @param {number} now - Current audio context time - * @param {string} [prop] - Property name on this to update replaced filters (e.g. 'midFilters') - * @returns {boolean} Whether graph reconnection is needed */ _updateFilterChain(chain, freqs, types, qs, gains, now) { chain.forEach((filter, i) => {