Rubberband: Disable by default correctly
The attempt to disable it by default only for new installs failed, as changing the default after restarting with consent achieved, resulted in the value changing as well, as is the way of changing defaults if the user has never changed them. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
parent
645169e45a
commit
2fb59552a7
2 changed files with 1 additions and 5 deletions
|
@ -130,7 +130,7 @@ NSString *CogPlaybackDidStopNotificiation = @"CogPlaybackDidStopNotificiation";
|
|||
@"enableHrtf": @(NO),
|
||||
@"enableHeadTracking": @(NO),
|
||||
@"enableHDCD": @(NO),
|
||||
/*@"rubberbandEngine": @"faster",*/
|
||||
@"rubberbandEngine": @"disabled",
|
||||
@"rubberbandTransients": @"crisp",
|
||||
@"rubberbandDetector": @"compound",
|
||||
@"rubberbandPhase": @"laminar",
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
void showSentryConsent(NSWindow *window) {
|
||||
BOOL askedConsent = [[NSUserDefaults standardUserDefaults] boolForKey:@"sentryAskedConsent"];
|
||||
if(!askedConsent) {
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"rubberbandEngine": @"disabled" }];
|
||||
|
||||
[window orderFront:window];
|
||||
|
||||
NSAlert *alert = [[NSAlert alloc] init];
|
||||
|
@ -36,8 +34,6 @@ void showSentryConsent(NSWindow *window) {
|
|||
}];
|
||||
|
||||
[[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"sentryAskedConsent"];
|
||||
} else {
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"rubberbandEngine": @"faster" }];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue