Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MmfBase.h>

Typedef TMMFPrioritySettingsPckg

typedef TPckgBuf<TMMFPrioritySettings> TMMFPrioritySettingsPckg;

Description

This is a TPckgBufTPckgBuf package of a TMMFPrioritySettingsTMMFPrioritySettings.

[Top]


Enum TMdaPriority

TMdaPriority

Description

The priority for clients accessing a sound output device for audio playback or audio streaming.

This is a value between EMdaPriorityMin and EMdaPriorityMax. The higher value indicates a more important request. It is used to resolve conflicts when more than one client tries to access the same hardware resource simultaneously.

One of these values is passed in the first parameter to CMdaAudioOutputStream::SetPriority(TInt,TMdaPriorityPreference).

See also:

EMdaPriorityMin

The lowest priority (= – 100). This indicates that the client can be interrupted by any other client.

EMdaPriorityNormal

Normal priority. This indicates that the client can be interrupted but only by higher priority clients.

EMdaPriorityMax

The highest priority (= 100). This indicates that the client cannot be interrupted by other clients.

[Top]


Enum TMdaPriorityPreference

TMdaPriorityPreference

Description

A set of priority values which define the behaviour to be adopted by an audio client if a higher priority client takes over the device.

EMdaPriorityPreferenceNone

No priority.

EMdaPriorityPreferenceTime

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.

EMdaPriorityPreferenceQuality

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.

EMdaPriorityPreferenceTimeAndQuality

The audio data is both time and quality sensitive. The playback operation fails if it cannot happen immediately at the highest quality.

[Top]


Enum TMMFState

TMMFState

Description

Holds the current state of DevSound.

EMMFStateIdle

Idle state.

EMMFStatePlaying

The MMF is currently playing.

EMMFStateTonePlaying

The MMF is playing a tone.

EMMFStateRecording

The MMF is currently recording.

EMMFStatePlayingRecording

The MMF is playing and recording.

EMMFStateConverting

The MMF is converting data.