MLAudioBufferFormat
Module: Audio / Audio Definitions / Acoustics / Buffering
Buffer format settings for input and output streams. More...
#include <ml_audio.h>
Public Attributes
Type | Name |
---|---|
uint32_t | channel_count |
uint32_t | samples_per_second |
uint32_t | bits_per_sample |
uint32_t | valid_bits_per_sample |
MLAudioSampleFormat | sample_format |
MLAudioChannelFormat | channel_format |
Detailed Description
struct MLAudioBufferFormat;
Buffer format settings for input and output streams.
API Level:
- 20
Public Attributes Documentation
channel_count
uint32_t channel_count;
Number of channels.
samples_per_second
uint32_t samples_per_second;
Sample rate.
bits_per_sample
uint32_t bits_per_sample;
Number of bits per sample.
valid_bits_per_sample
uint32_t valid_bits_per_sample;
Number of bits used per sample.
sample_format
MLAudioSampleFormat sample_format;
Integer or float. Float is not currently implemented for buffered I/O.
channel_format
MLAudioChannelFormat channel_format;
Channel configuration.