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()
Enumerator | Value | Description |
---|---|---|
EMdaPriorityMin | -100 |
The lowest priority (= 100). This indicates that the client can be interrupted by any other client. |
EMdaPriorityNormal | 0 |
Normal priority. This indicates that the client can be interrupted but only by higher priority clients. |
EMdaPriorityMax | 100 |
The highest priority (= 100). This indicates that the client cannot be interrupted by other clients. |
Audio priority preference values. These are to be interpreted as discrete values and not separate flags.
Enumerator | Value | Description |
---|---|---|
EMdaPriorityPreferenceNone | 0 |
Default value - no specific meaning. |
EMdaPriorityPreferenceTime | 1 |
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. |
EMdaPriorityPreferenceQuality | 2 |
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. |
EMdaPriorityPreferenceTimeAndQuality | 3 |
The audio data is both time and quality sensitive. Identical in behaviour to EMdaPriorityPreferenceQuality. |
Holds the current state of DevSound.
Enumerator | Value | Description |
---|---|---|
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 TPckgBuf< TMMFPrioritySettings > | TMMFPrioritySettingsPckg |
This is a TPckgBuf package of a TMMFPrioritySettings.