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
Christopher Snowhill 2022-02-15 22:49:26 -08:00
parent 25077277b3
commit 627aeda8b1
1 changed files with 6 additions and 6 deletions

View File

@ -55,12 +55,12 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation";
}
- (void)initDefaults {
NSDictionary *defaultsDictionary = @{@"volume": [NSNumber numberWithDouble:100.0],
@"GraphicEQenable": [NSNumber numberWithBool:NO],
@"GraphicEQpreset": [NSNumber numberWithInt:-1],
@"GraphicEQtrackgenre": [NSNumber numberWithBool:NO],
@"volumeLimit": [NSNumber numberWithBool:YES],
@"headphoneVirtualization": [NSNumber numberWithBool:NO]};
NSDictionary *defaultsDictionary = @{ @"volume": [NSNumber numberWithDouble:75.0],
@"GraphicEQenable": [NSNumber numberWithBool:NO],
@"GraphicEQpreset": [NSNumber numberWithInt:-1],
@"GraphicEQtrackgenre": [NSNumber numberWithBool:NO],
@"volumeLimit": [NSNumber numberWithBool:YES],
@"headphoneVirtualization": [NSNumber numberWithBool:NO] };
[[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary];
}