Archived:Bugs in CallAudioControl
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Tested with
Devices(s): Nokia N95
Compatibility
Platform(s): S60 3rd Edition
Article
Created: User:O'brien enda
(21 Oct 2008)
Last edited: hamishwillee
(15 Jun 2012)
Description
Following issues can be observed when using CallAudioControl API on 3.1 device:
- Muting and unmuting uplink doesn't work - returns error
- Notification about uplink mute state doesn't work
- Notification about output routing change doesn't work
- Calling SetOutput(ELoudspeaker) breaks operation of CPeriodic objects with Idle priority
- Calling SetOutput(ELoudspeaker) breaks operation of some CActive based objects (e.g. CLogViewRecent)
How to reproduce
- Call CCallAudioControl::SetOutput(ELoudspeaker) and then create and start CPeriodic timer with priority Idle. The call back function is never called.
- Call CCallAudioControl::SetOutput(ELoudspeaker), then create CLogViewRecent object and call SetRecentListL. The asynchronous call never completes.
Solution
3) Call CCallAudioControl::GetAvailableOutputs after a GSM call becomes active and the KOutputChanged is then reveiced properly.
4) Change Idle priority to any higher priority.

