Skip to main content
Version: 12 Dec 2024

Buffering

Module: Audio / Audio Definitions / Acoustics

BUFFERING.

Classes​

Name
structMLAudioBufferFormat
Buffer format settings for input and output streams.
structMLAudioBuffer

Types​

Name
typedef struct MLAudioBufferFormatMLAudioBufferFormat
Buffer format settings for input and output streams.
typedef struct MLAudioBufferMLAudioBuffer

Enums​

Name
enumMLAudioSampleFormat
{
MLAudioSampleFormat_Int,
MLAudioSampleFormat_Float,
MLAudioSampleFormat_Ensure32Bits = 0x7FFFFFFF
}
enumMLAudioChannelFormat
{
MLAudioChannelFormat_Default,
MLAudioChannelFormat_AmbisonicAmbix,
MLAudioChannelFormat_Ensure32Bits = 0x7FFFFFFF
}

Enums Documentation​

MLAudioSampleFormat​

EnumeratorValueDescription
MLAudioSampleFormat_IntSamples are integer.
MLAudioSampleFormat_FloatSamples are float. Not currently implemented for buffered I/O.
MLAudioSampleFormat_Ensure32Bits0x7FFFFFFFEnsure enum is represented as 32 bits.

Possible sample formats for input and output streams.


MLAudioChannelFormat​

EnumeratorValueDescription
MLAudioChannelFormat_DefaultInfer channel format from buffer format settings.
MLAudioChannelFormat_AmbisonicAmbixAmbisonic AmbiX format.
MLAudioChannelFormat_Ensure32Bits0x7FFFFFFFEnsure enum is represented as 32 bits.

Channel formats for buffered outputs.


Types Documentation​

MLAudioBufferFormat​

typedef struct MLAudioBufferFormat MLAudioBufferFormat;

Buffer format settings for input and output streams.

More Info

API Level:

  • 20

MLAudioBuffer​

typedef struct MLAudioBuffer MLAudioBuffer;

An audio buffer for passing data to/from buffered outputs and inputs.

More Info