Key sound problem on the 6680
| Tue, 2005-06-14 03:47 | |
|
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 |
|






Forum posts: 12
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
Forum posts: 76
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.