Hi!
How do i set the priority of CMdaAudioToneUtility? When i do the following code:
it gives me "CMdaAudioToneUti 0" What does this mean? I hope you gurus could help me. Thanks!Code:static const TInt KSoundFrequency = 9500; static const TInt KSoundDuration = 200000; void CToneAdapter::ConstructL() { iMdaAudioToneUtility = CMdaAudioToneUtility::NewL(*this); // Configure the audio tone utility to play a single tone // causes MMdaAudioToneObserver::MatoPrepareComplete to be called iMdaAudioToneUtility->PrepareToPlayTone(KSoundFrequency, TTimeIntervalMicroSeconds(KSoundDuration)); iMdaAudioToneUtility->SetPriority(80, (TMdaPriorityPreference)EMdaPriorityPreferenceTimeAndQuality); }
Also, I'm having problems with CMdaAudioPlayerUtility and CMdaAudioRecorderUtility on N3650 and N7650. My app plays a wav file every minute when there is an active call. My app is fine on N6600. But when i use it on N3650 and N7650, the behavior is not very stable. Sometimes, it plays every minute, sometimes, it plays every other minute. Did any of you experience this kind of problem? How did you solve it? thank you very much.





