Key sound problem on the 6680

Login to reply to this topic.
Tue, 2005-06-14 03:47
Joined: 2005-03-11
Forum posts: 3
Hi people,

im getting trouble with the nokia 6680 when i want to disable the key sound. Im using keySounds()->PushContextL(R_AVKON_SILENT_SKEY_LIST); to turn it off and it's woking without any problem
on 6600, 6670 and NGage for example but on the 6680 i have a very strange behaviour.

When i use this code with HandleWsEventL in the UI, the key sound is still there but if i'm using HandleCommandL the sound is gone. I really need to turn off the key sound since that soon as  i have a key sound the audio mixer stop and im loosing music & sfx but if i turn the key sound off in the parameter of the phone everything work flawless... By the way is there a way to code that ?

I want to use HandleWsEvent to get the left softkey using the event EEventKeyDown and EEventKeyUp but when im using the HandleCommandL i dont get anything when i press it.

If someone can help i will very apreciate it.

Thanks


Thu, 2005-08-18 17:34
Joined: 2004-06-30
Forum posts: 12
Re: Key sound problem on the 6680
It seems to be bug with that version of the OS. The Key tones sounds are using the CMdaAudioOutputStream object with higher priority then your application.

To get round it you either ensure the key tones are switched off on the phone. Or within your application initialise the CMdaAudioOutputStream object passing EMdaPriorityMax, to ensure it has the highest priority, e.g.

iOutputStream = CMdaAudioOutputStream::NewL(*this, EMdaPriorityMax));

Hope this helps

cheers

John
Fri, 2005-08-26 18:48
Joined: 2005-01-24
Forum posts: 76
Re: Key sound problem on the 6680
Hi

A priority value of 80 is recommended for this bug-fix.  Priority of 80 on your audio stream prevents the keytones from interrupting your audio on 6680, but still allows other, more important system sounds to override your audio.

Regards.

Andy.
  • Login to reply to this topic.