Skip to content

Commit

Permalink
VGMStream: Fix fade time configuration
Browse files Browse the repository at this point in the history
Fade time was reading from some completely wrong
configuration field name, so fades weren't working.
  • Loading branch information
kode54 committed Sep 17, 2024
1 parent 389f56e commit a3e6636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/vgmstream/vgmstream/VGMDecoder.m
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ - (BOOL)open:(id<CogSource>)s {
loopCount = 10;
}

fadeTime = [[[[NSUserDefaultsController sharedUserDefaultsController] defaults] valueForKey:@"synthDefaultFadeTime"] doubleValue];
fadeTime = [[[[NSUserDefaultsController sharedUserDefaultsController] defaults] valueForKey:@"synthDefaultFadeSeconds"] doubleValue];
if(fadeTime < 0.0) {
fadeTime = 0.0;
}
Expand Down

0 comments on commit a3e6636

Please sign in to comment.