Regression fix: load volume setting from config as before

This commit is contained in:
cim 2013-11-20 17:28:26 +00:00
parent 04765821f7
commit 2d341002cb

View File

@ -52,6 +52,8 @@ static BOOL sIsSoundOK = NO;
if (controller != nil)
{
sIsSoundOK = YES;
float volume = [[NSUserDefaults standardUserDefaults] oo_floatForKey:KEY_VOLUME_CONTROL defaultValue:1.0];
[self setMasterVolume:volume];
}
}