From 6011982a639c90e60622489b193f932b2d819f3d Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 22 Jan 2022 12:59:59 -0800 Subject: [PATCH] Equalizer: Correctly activate the equalizer when starting playback --- Audio/Output/OutputCoreAudio.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Audio/Output/OutputCoreAudio.m b/Audio/Output/OutputCoreAudio.m index 7eaef4f03..a8f0fe533 100644 --- a/Audio/Output/OutputCoreAudio.m +++ b/Audio/Output/OutputCoreAudio.m @@ -688,6 +688,8 @@ default_device_changed(AudioObjectID inObjectID, UInt32 inNumberAddresses, const if (_err) return NO; + [self setEqualizerEnabled:[[[[NSUserDefaultsController sharedUserDefaultsController] defaults] objectForKey:@"GraphicEQenable"] boolValue]]; + [outputController beginEqualizer:_eq]; [_au allocateRenderResourcesAndReturnError:&err];