uifw/EikStd/srvuisrc/eikkeysoundserver.cpp
branchRCL_3
changeset 50 a1caeb42b3a3
parent 38 c52421ed5f07
child 55 aecbbf00d063
equal deleted inserted replaced
38:c52421ed5f07 50:a1caeb42b3a3
  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         {