File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -309,6 +309,9 @@ class MusifyAudioHandler extends BaseAudioHandler {
309309
310310 // Apply stored shuffle mode to audio player
311311 await audioPlayer.setShuffleModeEnabled (shuffleNotifier.value);
312+
313+ // Initialize equalizer once at startup
314+ unawaited (_ensureEqualizerConfigured ());
312315 } catch (e, stackTrace) {
313316 logger.log (
314317 'Error initializing audio session' ,
@@ -1476,7 +1479,6 @@ class MusifyAudioHandler extends BaseAudioHandler {
14761479 await audioPlayer
14771480 .setAudioSource (audioSource)
14781481 .timeout (_songTransitionTimeout);
1479- unawaited (_ensureEqualizerConfigured (force: true ));
14801482
14811483 // Check once more after the async setAudioSource: a fast offline song
14821484 // could have loaded and started playing while we were buffering/setting up.
You can’t perform that action at this time.
0 commit comments