Skip to main content
Version: 21 Aug 2024

MLAudioBufferFormat

Public Methods

MLAudioBufferFormat

public MLAudioBufferFormat(
MLAudioOutput.BufferFormat bufferFormat
)

Parameters

TypeNameDescription
MLAudioOutput.BufferFormatbufferFormatBuffer format settings for input and output streams.

Public Attributes

BitsPerSample


public readonly uint BitsPerSample;


ChannelCount


public readonly uint ChannelCount;


ChannelFormat


public readonly MLAudioOutput.ChannelFormatType ChannelFormat;

TypeDescription
readonly MLAudioOutput.ChannelFormatTypePossible channel formats for input and output streams.

SampleFormat


public readonly MLAudioOutput.SampleFormatType SampleFormat;

TypeDescription
readonly MLAudioOutput.SampleFormatTypePossible sample formats for input and output streams.

SamplesPerSecond


public readonly uint SamplesPerSecond;


ValidBitsPerSample


public readonly uint ValidBitsPerSample;