Set default volume to 75%
This doesn't fix an outstanding issue which will be fixed by the next commit, but it does fulfill a request. Signed-off-by: Christopher Snowhill <kode54@gmail.com>CQTexperiment
parent
25077277b3
commit
627aeda8b1
|
@ -55,12 +55,12 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation";
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)initDefaults {
|
- (void)initDefaults {
|
||||||
NSDictionary *defaultsDictionary = @{@"volume": [NSNumber numberWithDouble:100.0],
|
NSDictionary *defaultsDictionary = @{ @"volume": [NSNumber numberWithDouble:75.0],
|
||||||
@"GraphicEQenable": [NSNumber numberWithBool:NO],
|
@"GraphicEQenable": [NSNumber numberWithBool:NO],
|
||||||
@"GraphicEQpreset": [NSNumber numberWithInt:-1],
|
@"GraphicEQpreset": [NSNumber numberWithInt:-1],
|
||||||
@"GraphicEQtrackgenre": [NSNumber numberWithBool:NO],
|
@"GraphicEQtrackgenre": [NSNumber numberWithBool:NO],
|
||||||
@"volumeLimit": [NSNumber numberWithBool:YES],
|
@"volumeLimit": [NSNumber numberWithBool:YES],
|
||||||
@"headphoneVirtualization": [NSNumber numberWithBool:NO]};
|
@"headphoneVirtualization": [NSNumber numberWithBool:NO] };
|
||||||
|
|
||||||
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary];
|
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue