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
|
@ -131,6 +131,8 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation";
|
||||||
{
|
{
|
||||||
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"];
|
[[NSUserDefaults standardUserDefaults] setInteger:CogStatusStopped forKey:@"lastPlaybackStatus"];
|
||||||
|
|
||||||
|
[self audioPlayer:audioPlayer removeEqualizer:_eq];
|
||||||
|
|
||||||
[audioPlayer stop];
|
[audioPlayer stop];
|
||||||
|
|
||||||
[self sendMetaData];
|
[self sendMetaData];
|
||||||
|
|
Loading…
Reference in a new issue