alarmui/src/AlmAlarmPlayer.cpp
branchRCL_3
changeset 65 12af337248b1
parent 0 f979ecb2b13e
child 66 bd7edf625bdd
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
   304 // Play beep alarm for clock.
   304 // Play beep alarm for clock.
   305 // -----------------------------------------------------------------------------
   305 // -----------------------------------------------------------------------------
   306 //
   306 //
   307 void CAlmAlarmPlayer::PlayClockBeepL(void)
   307 void CAlmAlarmPlayer::PlayClockBeepL(void)
   308 {
   308 {
   309     TRACE_ENTRY_POINT;
   309     /*TRACE_ENTRY_POINT;
   310     iBeepPlayer = CMdaAudioToneUtility::NewL( *this );
   310     iBeepPlayer = CMdaAudioToneUtility::NewL( *this );
   311 
   311 
   312     SET_VOLUME( iBeepPlayer, 
   312     SET_VOLUME( iBeepPlayer, 
   313                 PlayerVolume( iBeepPlayer->MaxVolume(),
   313                 PlayerVolume( iBeepPlayer->MaxVolume(),
   314                               iAlarmUtils->AlarmData().iVolume ) )
   314                               iAlarmUtils->AlarmData().iVolume ) )
   315 
   315 
   316     iBeepPlayer->SetPriority( KAudioPriorityAlarm, static_cast<TMdaPriorityPreference>( KAudioPrefAlarmClock ) );
   316     iBeepPlayer->SetPriority( KAudioPriorityAlarm, static_cast<TMdaPriorityPreference>( KAudioPrefAlarmClock ) );
   317 
   317 
   318     iBeepPlayer->PrepareToPlayDesSequence( KPhoneBeepSequence );
   318     iBeepPlayer->PrepareToPlayDesSequence( KPhoneBeepSequence );*/
   319     TRACE_EXIT_POINT;
   319     TRACE_EXIT_POINT;
   320 }
   320 }
   321 
   321 
   322 // -----------------------------------------------------------------------------
   322 // -----------------------------------------------------------------------------
   323 // Play normal clock alarm.
   323 // Play normal clock alarm.