mmfbase.h File Reference

Enum TMdaPriority

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().

See also: CMdaAudioOutputStream::SetPriority()

EnumeratorValueDescription
EMdaPriorityMin-100

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

EMdaPriorityNormal0

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

EMdaPriorityMax100

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

Enum TMdaPriorityPreference

Audio priority preference values. These are to be interpreted as discrete values and not separate flags.

EnumeratorValueDescription
EMdaPriorityPreferenceNone0

Default value - no specific meaning.

EMdaPriorityPreferenceTime1

The audio data is time sensitive. The playback operation may fail if it cannot happen when requested but degraded output such as mixing or muting is allowed. Note that this is the default behaviour anyway, but this declaration is maintained for compatability.

EMdaPriorityPreferenceQuality2

The audio data should be played at the best possible quality (for example, it should not be degraded by muting or mixing). This is an advisory to the adaptation and can be ignored.

EMdaPriorityPreferenceTimeAndQuality3

The audio data is both time and quality sensitive. Identical in behaviour to EMdaPriorityPreferenceQuality.

Enum TMMFState

Holds the current state of DevSound.

EnumeratorValueDescription
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.

Typedef TMMFPrioritySettingsPckg

typedef TPckgBuf< TMMFPrioritySettings >TMMFPrioritySettingsPckg

This is a TPckgBuf package of a TMMFPrioritySettings.