Control
Module: Audio / Audio Definitions
CONTROL.
Enums
Enums Documentation
MLAudioState
Enumerator | Value | Description |
---|---|---|
MLAudioState_Stopped | Stopped, can be started. | |
MLAudioState_Playing | Playing, can be stopped or paused. | |
MLAudioState_Paused | Paused, can be resumed or re-started. | |
MLAudioState_Ensure32Bits | 0x7FFFFFFF | Ensure enum is represented as 32 bits. |
Possible playback states for sounds and inputs.
MLAudioSoundEvent
Enumerator | Value | Description |
---|---|---|
MLAudioSoundEvent_End | A sound output has reached the end and is stopping. | |
MLAudioSoundEvent_Loop | A sound output has reached the end and is looping. | |
MLAudioSoundEvent_MutedBySystem | A sound output has been muted due to system conditions. | |
MLAudioSoundEvent_UnmutedBySystem | A previously muted sound output has been unmuted due to system conditions. | |
MLAudioSoundEvent_DuckedBySystem | A sound output has been ducked due to system conditions. | |
MLAudioSoundEvent_UnduckedBySystem | A previously ducked sound output has been unducked due to system conditions. | |
MLAudioSoundEvent_ResourceDestroyed | The resource used by a sound output has been destroyed. | |
MLAudioSoundEvent_Ensure32Bits | 0x7FFFFFFF | Ensure enum is represented as 32 bits. |
Possible events for individual sound outputs.
MLAudioMediaEvent
Enumerator | Value | Description |
---|---|---|
MLAudioMediaEvent_Play | Indicates a user command to play. | |
MLAudioMediaEvent_Stop | Indicates a user command to stop. | |
MLAudioMediaEvent_Pause | Indicates a user command to pause. | |
MLAudioMediaEvent_NextTrack | Indicates a user command to go to next track. | |
MLAudioMediaEvent_PrevTrack | Indicates a user command to go to previous track. | |
MLAudioMediaEvent_Ensure32Bits | 0x7FFFFFFF | Ensure enum is represented as 32 bits. |
Possible media control events initiated by the user.