Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MmfBase.h>

Class TMMFPrioritySettings

class TMMFPrioritySettings;

Description

A class type representing the audio client's priority, priority preference and state settings.

Members

Defined in TMMFPrioritySettings:


Construction and destruction


TMMFPrioritySettings()

inline TMMFPrioritySettings();

Description

Initializes the object with arbitrary values.

[Top]


Member data


iPriority

TInt iPriority;

Description

Absolute priority of a client of the MMF Server.

Used by the policy server to determine which client should gain access to the sound device.

The priority which should be an integer in the range -100 to +100.


iPref

TMdaPriorityPreference iPref;

Description

The priority preference that expresses the nature of the priority that can be none, time (or speed), quality or both time and quality.

If this is set to EMdaPriorityPreferenceTime then the audio data is time sensitive. The playback operation fails if it cannot happen when requested but degraded output such as mixing or muting is allowed.

If this is set to EMdaPriorityPreferenceQuality then the audio data must be played at the best possible quality (for example, it must not be degraded by muting or mixing). The playback operation is delayed until the sound device is available for exclusive use.

If this is set to EMdaPriorityPreferenceTimeAndQuality then the audio data is both time and quality sensitive. The playback operation fails if it cannot happen immediately at the highest quality.


iState

TMMFState iState;

Description

The state of the MMF player such as idle, playing, recording and so on. See the TMMFState enum for possible states.