From fe4e17a4a0621450c1142a48cfa73f6261d0373e Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sun, 23 Jan 2022 20:25:42 -0800 Subject: [PATCH] Equalizer: Remove equalizer from window, thus saving settings, on stop or shutdown Fixes #204 --- Application/PlaybackController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Application/PlaybackController.m b/Application/PlaybackController.m index 0d1090056..7dd851000 100644 --- a/Application/PlaybackController.m +++ b/Application/PlaybackController.m @@ -130,6 +130,8 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation"; - (IBAction)stop:(id)sender { [[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"]; + + [self audioPlayer:audioPlayer removeEqualizer:_eq]; [audioPlayer stop];