How to play audio to ear speaker
| Wed, 2006-05-03 16:23 | |
|
Hi,
I'm playing an AMR fie using CMdaAudioPlayerUtility. Everything works fine but I need to play the file to the ear speaker (i.e, not the loud speaker). I've managed to do it on Nokia 6600 by using SetPriority(80, (TMdaPriorityPreference)EAknAudioPrefVoiceRec). However, it doesn't work on 6630. I'm not sure if it's even possible because the built-in voice recorder application can't play file to the ear speaker (called there handset speaker) like in 6600. My question is if it's possible on 6630 and other devices, and if so, how? Do I need to use other values in the audio prefs? \thanks Imzadi |
|






Forum posts: 25
You can use method SetAudioDeviceMode for this purpose.
You can see in SDK that there are following possible value to set
CMdaAudioRecorderUtility::EDefault
CMdaAudioRecorderUtility::ETelephonyOrLocal
CMdaAudioRecorderUtility::ETelephonyMixed
CMdaAudioRecorderUtility::ETelephonyNonMixed
CMdaAudioRecorderUtility::ELocal
So try these thing to solve ur problem & to learn new option as well
Forum posts: 40
I didn't use this option because the function SetMode is deprecated. You can see the comment in MdaAudioSampleEditor.h file:
Imzadi
Forum posts: 81
Did you find an answer to your question ? Because I have the same problem. It doesn't work on 6630 and 6680.
Thank you very much.
Bernie