asr_audio_info

Audio capture information.

Synopsis:

typedef struct asr_audio_info {
    uint8_t * buffer ;
    int buffer_len ;
    int sample_size ;
    int sample_rate ;
    int channels ;
}asr_audio_info_t;

Data:

uint8_t * buffer
The buffer to carry the audio samples.
int buffer_len
The length of the buffer.
int sample_size
The number of bits per sample.
int sample_rate
The sample rate.
int channels
The number of channels.

Library:

libasr

Description:

This structure carries the audio capture properties.