Equalizer: Correctly activate the equalizer when starting playback

CQTexperiment
Christopher Snowhill 2022-01-22 12:59:59 -08:00
parent 6cf7d1d615
commit 6011982a63
1 changed files with 2 additions and 0 deletions

View File

@ -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];