KErrDied while playing(using CMdaAUdiOutputStream) on receiving GSM/CS call

Login to reply to this topic.
Wed, 2005-08-03 08:25
Joined: 2004-07-27
Forum posts: 5
Hi,
  I am using CMdaAudioOutputStream for playing AMR audio data.
 While playing AMR data if i receive a GSM/CS call, the player is coming up with the error KErrDied.

   The behaviour was the same with the following combination of priority and preference set on the player(CMdaAudioOutputStream)

1. SetPriority ( EMdaPriorityNormal , EMdaPriorityPreferenceTime );

2. SetPriority ( EMdaPriorityNormal , EMdaPriorityPreferenceQuality );

3. SetPriority ( EMdaPriorityMax, EMdaPriorityPreferenceQuality );

Is there anyway i can avoid this KErrDied(proper priority and preference comination?) ...if not...how can i recover from this error.

Thanks and Regards,
Sai Kiran P

Wed, 2005-08-03 08:59
Joined: 2003-04-01
Forum posts: 142
Re: KErrDied while playing(using CMdaAUdiOutputStream) on receiv
have you tried it with higher priority values ?

It is most propably caused by the audio player for the ringtone, that has hifher pririty than your stream, thus it will interrupt streams play. So if you set your stream to have higher priority than the ringtone player, then you'll get it played. (if I remember right this works nicely with OS 7.0s, but does not really work with OS 6.1)

yucca
Mon, 2005-12-26 15:27
Joined: 2004-11-25
Forum posts: 12
Re: KErrDied while playing(using CMdaAUdiOutputStream) on receiv
Hi Sai,

Did you finally manage to solve your problem?
If "yes" can you please post how? I face the same
problem in an application of mine. The ringingtone
interrupts my playback. I want to avoid this.
Exactly as you tried, I have tried to use higher
(Max) priority but it didn't work.

Any news from your side?
Panayotis

panayotis

  • Login to reply to this topic.