Equalizer: Remove equalizer from window, thus saving settings, on stop or shutdown
Fixes #204
This commit is contained in:
parent
51caf3f4e3
commit
fe4e17a4a0
1 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,8 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation";
|
|||
- (IBAction)stop:(id)sender
|
||||
{
|
||||
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"];
|
||||
|
||||
[self audioPlayer:audioPlayer removeEqualizer:_eq];
|
||||
|
||||
[audioPlayer stop];
|
||||
|
||||
|
|
Loading…
Reference in a new issue