Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
pcm_config_s Struct Reference

The PCM codec configuration. More...

#include <audio.h>

Data Fields

unsigned long long trx_bytes
 Number of transferred sample bytes.
pcm_codec_func_t codec
 Current codec function in effect.
int suspended
 Set to 1 when the codec is suspended.
int sample_rate
 Sample rate in Hz.
int default_direction
 Direction setting supplied to direction parameter during descriptor creation.
int format
 Audio data frame format.
int current_direction
 Current direction setting in effect.
void * time_stretcher_ctx
 Time stretcher (voice speed control) context.
void * peak_limiter_ctx
 Sample peak limiter context.

Detailed Description

The PCM codec configuration.

Field Documentation

◆ current_direction

int pcm_config_s::current_direction

Current direction setting in effect.

Defaults to DIRECTION_OUT.

◆ default_direction

int pcm_config_s::default_direction

Direction setting supplied to direction parameter during descriptor creation.

Defaults to DIRECTION_OUT.

◆ format

int pcm_config_s::format

Audio data frame format.

Defaults to FORMAT_PCM_STEREO.

◆ peak_limiter_ctx

void* pcm_config_s::peak_limiter_ctx

Sample peak limiter context.

Todo
Document its structure.

◆ sample_rate

int pcm_config_s::sample_rate

Sample rate in Hz.

Defaults to 44100 on at least BA742.

◆ time_stretcher_ctx

void* pcm_config_s::time_stretcher_ctx

Time stretcher (voice speed control) context.

Todo
Document its structure.

The documentation for this struct was generated from the following file: