Why FM radio won't resume
I use CMdaAudioPlayerUtility to play an audio during listening FM radio. The radio is interrupted during the audio playing. It won't resume even after my audio complete playing.
While if you are listening radio, there is incoming calls or SMS interrupts the radio, it will resume automaticcaly after other sound finish playing.
What can I do?:confused:
Re: Why FM radio won't resume
[QUOTE=huanmingwu;401339]I use CMdaAudioPlayerUtility to play an audio during listening FM radio. The radio is interrupted during the audio playing. It won't resume even after my audio complete playing.
While if you are listening radio, there is incoming calls or SMS interrupts the radio, it will resume automaticcaly after other sound finish playing.
What can I do?:confused:[/QUOTE]
i m not sure,but may be u r using the audio device in exclusive mode so at the time of playing ur app hold that resourse in exclusive mode and ur radio app may kill.
so try to use device in share mode.
Re: Why FM radio won't resume
[QUOTE=Nitesh Bhardwaj;401366]i m not sure,but may be u r using the audio device in exclusive mode so at the time of playing ur app hold that resourse in exclusive mode and ur radio app may kill.
so try to use device in share mode.[/QUOTE]
Then how to use audio device in share mode?
Re: Why FM radio won't resume
[QUOTE=huanmingwu;401377]Then how to use audio device in share mode?[/QUOTE
have u tried them,
"TMMFPrioritySettings","CMMFDevSound" APIs
From SDK:"
IMPORT_C void SetPrioritySettings(const TMMFPrioritySettings &aPrioritySettings);
Re: Why FM radio won't resume
[QUOTE=Nitesh Bhardwaj;401388][QUOTE=huanmingwu;401377]Then how to use audio device in share mode?[/QUOTE]
have u tried them,
"TMMFPrioritySettings","CMMFDevSound" APIs
From SDK:"
IMPORT_C void SetPrioritySettings(const TMMFPrioritySettings &aPrioritySettings);[/QUOTE]
I tried both priority EMdaPriorityMin, and EMdaPriorityNormal. looks like the resule is the same.
Re: Why FM radio won't resume
Hi,
did anyone ever get full understanding of this. I am facing exactly this problem, and would be happy to get some advice.
BR,
keldemor