×
Namespaces

Variants
Actions

Playing audio to telephony uplink on S60 2nd Edition, FP2 and FP3

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Compatibility
Platform(s): S60 2nd Edition, FP2
S60 2nd Edition, FP3
S60 2nd Edition (initial release)
Article
Created: User:Technical writer 2 (24 Aug 2006)
Last edited: lpvalente (18 Nov 2012)

Overview

Playing audio to telephony uplink on S60 2nd Edition, FP2 and FP3

Description

Prior to S60 2nd Edition, FP2, audio playback using CMdaAudioPlayerUtility is automatically routed to telephony uplink if a voice call is currently active.
From S60 2nd Edition, FP2 onwards, the player utility needs to be configured with a custom preference value (TMdaPriorityPreference) in order for the playback to be directed to telephony uplink.

#define KAudioPrefUplink 0x00060001
#define KAudioPriority 80
iPlayerUtility =
CMdaAudioPlayerUtility::NewL(
*this,
KAudioPriority,
(TMdaPriorityPreference)KAudioPrefUplink);

The recommended audio priority value for player applications is 80.

This page was last modified on 18 November 2012, at 00:33.
64 page views in the last 30 days.
×