voicerecorder/RecViewSrc/CVRMdaRecorder.cpp
branchRCL_3
changeset 19 2f5c9ee7098c
parent 14 f962425b9f8b
equal deleted inserted replaced
17:41c99112ff9d 19:2f5c9ee7098c
   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( reallyStopping )
   925 		if( ( iAudioRecorder->State() == CMdaAudioRecorderUtility::EOpen ) ||
       
   926 				reallyStopping )
   926 			{
   927 			{
   927 			// Set lower preference to ensure other sounds will 
   928 			// Set lower preference to ensure other sounds will 
   928 			// be played correctly
   929 			// be played correctly
   929 			iAudioRecorder->SetPriority( KAudioPriorityRecording, 
   930 			iAudioRecorder->SetPriority( KAudioPriorityRecording, 
   930 				TMdaPriorityPreference( KAudioPrefRealOneLocalPlayback ) );
   931 				TMdaPriorityPreference( KAudioPrefRealOneLocalPlayback ) );