Location:
MmfBase.h
class TMMFPrioritySettings;
A class type representing the audio client's priority, priority preference and state settings.
Defined in TMMFPrioritySettings
:
TMMFPrioritySettings()
, iPref
, iPriority
, iState
TInt iPriority;
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.
TMdaPriorityPreference iPref;
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.
TMMFState iState;
The state of the MMF player such as idle, playing, recording and so on. See the TMMFState enum for possible states.