![]() |
Murl Engine API
Version 2018.3
|
Audio items enumerations. More...
Functions | |
const Enum< SampleFormat > & | Murl::IEnums::GetSampleFormatEnum () |
Get the SampleFormat enumeration string mapping. More... | |
UInt32 | Murl::IEnums::GetSampleFormatByteSize (SampleFormat sampleFormat) |
Query the number of bytes per sample for a given sample format. More... | |
const Enum< AudioStreamFormat > & | Murl::IEnums::GetAudioStreamFormatEnum () |
Get the AudioStreamFormat enumeration string mapping. More... | |
const Enum< DistanceModel > & | Murl::IEnums::GetDistanceModelEnum () |
Get the DistanceModel enumeration string mapping. More... | |
Audio items enumerations.
Available audio session categories.
Enumerator | |
---|---|
AUDIO_SESSION_CATEGORY_DEFAULT | The default category, no audio session category is applied. String value: |
AUDIO_SESSION_CATEGORY_SOLO_AMBIENT | The solo ambient category, silences other audio. String value: |
AUDIO_SESSION_CATEGORY_MIX_AMBIENT | The mix ambient category, mixes other audio. String value: |
AUDIO_SESSION_CATEGORY_MIX_AMBIENT_IF_PLAYING | The mix ambient category, mixes if another audio is playing at app start. String value: |
AUDIO_SESSION_CATEGORY_PLAYBACK | The playback category, audio continues playing if app is in background. String value: |
Available sample formats for sound playback.
Enumerator | |
---|---|
SAMPLE_FORMAT_DEFAULT | The default sample format specified in a sound resource. String value: |
SAMPLE_FORMAT_MONO_8_BIT | 8bit mono (1 Byte per sample) String value: |
SAMPLE_FORMAT_MONO_16_BIT | 16bit mono (2 Bytes per sample) String value: |
SAMPLE_FORMAT_STEREO_8_BIT | 8bit stereo (2 Bytes per sample) String value: |
SAMPLE_FORMAT_STEREO_16_BIT | 16bit stereo (4 Bytes per sample) String value: |
Available distance models for audio volume attenuation.
See Graph::IListener for a detailed description.
Enumerator | |
---|---|
DISTANCE_MODEL_INVERSE | Inverse distance model. String value: |
DISTANCE_MODEL_INVERSE_CLAMPED | Inverse clamped distance model. String value: |
DISTANCE_MODEL_LINEAR | Linear distance model. String value: |
DISTANCE_MODEL_LINEAR_CLAMPED | Linear clamped distance model. String value: |
DISTANCE_MODEL_EXPONENT | Exponential distance model. String value: |
DISTANCE_MODEL_EXPONENT_CLAMPED | Exponential clamped distance model. String value: |
const Enum< SampleFormat >& Murl::IEnums::GetSampleFormatEnum | ( | ) |
Get the SampleFormat enumeration string mapping.
UInt32 Murl::IEnums::GetSampleFormatByteSize | ( | SampleFormat | sampleFormat | ) |
Query the number of bytes per sample for a given sample format.
sampleFormat | The sample format to query. |
const Enum< AudioStreamFormat >& Murl::IEnums::GetAudioStreamFormatEnum | ( | ) |
Get the AudioStreamFormat enumeration string mapping.
const Enum< DistanceModel >& Murl::IEnums::GetDistanceModelEnum | ( | ) |
Get the DistanceModel enumeration string mapping.