equal
deleted
inserted
replaced
1227 |
1227 |
1228 TInt volume = 0; |
1228 TInt volume = 0; |
1229 |
1229 |
1230 if ( Preference() != KKeyClickPreference ) // Other sounds than key click |
1230 if ( Preference() != KKeyClickPreference ) // Other sounds than key click |
1231 { |
1231 { |
1232 aAudioPlayer->SetVolume( ((TInt)iVolume * max )/(TInt)ESoundVolume9); |
1232 //change (TInt)ESoundVolume9 to ((TInt)ESoundVolume9 + 1)) to keep consistent with audiotheme |
|
1233 aAudioPlayer->SetVolume( ((TInt)iVolume * max )/((TInt)ESoundVolume9 + 1)); |
1233 return; |
1234 return; |
1234 } |
1235 } |
1235 |
1236 |
1236 switch (iVolume) |
1237 switch (iVolume) |
1237 { |
1238 { |