tactilefeedback/tactilefeedbackresolver/plugins/tactiletoneplugin/src/tactiletoneplayer.cpp
changeset 33 03a5a9b9cb9f
parent 27 dabdd02a1ba9
equal deleted inserted replaced
27:dabdd02a1ba9 33:03a5a9b9cb9f
   419     // --> Convert to 0-CMdaAudioToneUtility::MaxVolume    
   419     // --> Convert to 0-CMdaAudioToneUtility::MaxVolume    
   420     basicParams.iVolume     = ScaleVolume( basicParams.iVolume );
   420     basicParams.iVolume     = ScaleVolume( basicParams.iVolume );
   421     sensitiveParams.iVolume = ScaleVolume( sensitiveParams.iVolume );
   421     sensitiveParams.iVolume = ScaleVolume( sensitiveParams.iVolume );
   422     
   422     
   423     // Store parameters for different feedback types
   423     // Store parameters for different feedback types
   424     iSoundParams.Append( basicParams );
   424     // if append fail just make its action like before
   425     iSoundParams.Append( sensitiveParams );
   425     TRAP_IGNORE( iSoundParams.AppendL( basicParams ) );
       
   426     TRAP_IGNORE( iSoundParams.AppendL( sensitiveParams ) );
   426     TRACE("CTactileTonePlayer::ReadSettingsL - End");        
   427     TRACE("CTactileTonePlayer::ReadSettingsL - End");        
   427     }
   428     }
   428 
   429 
   429 // ---------------------------------------------------------------------------
   430 // ---------------------------------------------------------------------------
   430 // Scale the volume, and perform sanity check.
   431 // Scale the volume, and perform sanity check.