Equalizer: Remove equalizer from window, thus saving settings, on stop or shutdown
Fixes #204CQTexperiment
parent
51caf3f4e3
commit
fe4e17a4a0
|
@ -130,6 +130,8 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation";
|
||||||
- (IBAction)stop:(id)sender
|
- (IBAction)stop:(id)sender
|
||||||
{
|
{
|
||||||
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"];
|
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"];
|
||||||
|
|
||||||
|
[self audioPlayer:audioPlayer removeEqualizer:_eq];
|
||||||
|
|
||||||
[audioPlayer stop];
|
[audioPlayer stop];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue