voicerecorder/RecViewSrc/CVRMdaRecorder.cpp
branchRCL_3
changeset 29 c9b63fff5abf
parent 25 c6bafb5162d8
equal deleted inserted replaced
27:41fba8bcf7b7 29:c9b63fff5abf
   920 	    iMemo->File().SetAtt( KEntryAttNormal, KEntryAttHidden);	
   920 	    iMemo->File().SetAtt( KEntryAttNormal, KEntryAttHidden);	
   921 				
   921 				
   922 		iTonePlayer->PlayTone( EAvkonSIDVoiceRecordingStopTone );
   922 		iTonePlayer->PlayTone( EAvkonSIDVoiceRecordingStopTone );
   923 		iTonePlayer->PrepareTone( EAvkonSIDVoiceRecordingStartTone );			
   923 		iTonePlayer->PrepareTone( EAvkonSIDVoiceRecordingStartTone );			
   924 
   924 
   925 		if( ( iAudioRecorder->State() == CMdaAudioRecorderUtility::EOpen ) ||
   925 		if( reallyStopping )
   926 				reallyStopping )
       
   927 			{
   926 			{
   928 			// Set lower preference to ensure other sounds will 
   927 			// Set lower preference to ensure other sounds will 
   929 			// be played correctly
   928 			// be played correctly
   930 			iAudioRecorder->SetPriority( KAudioPriorityRecording, 
   929 			iAudioRecorder->SetPriority( KAudioPriorityRecording, 
   931 				TMdaPriorityPreference( KAudioPrefRealOneLocalPlayback ) );
   930 				TMdaPriorityPreference( KAudioPrefRealOneLocalPlayback ) );