arduino-audio-driver
Loading...
Searching...
No Matches
Public Attributes | List of all members
codec_dac_volume_config_t Struct Reference

Codec dac volume configurations. More...

#include <CodecConstants.h>

Public Attributes

float board_pa_gain
 
int8_t dac_vol_symbol
 
float max_dac_volume
 
float min_dac_volume
 
audio_codec_dac_vol_offset offset_conv_volume
 
uint8_t reg_value
 
int user_volume
 
float volume_accuracy
 
uint8_t zero_volume_reg
 

Detailed Description

Codec dac volume configurations.

Member Data Documentation

◆ board_pa_gain

float board_pa_gain

Board power amplifier gain

◆ dac_vol_symbol

int8_t dac_vol_symbol

Whether the dac volume is positively correlated with the register value

◆ max_dac_volume

float max_dac_volume

Codec support max volume

◆ min_dac_volume

float min_dac_volume

Codec support min volume

◆ offset_conv_volume

audio_codec_dac_vol_offset offset_conv_volume

Convert user volume to dac volume offset

◆ reg_value

uint8_t reg_value

Record current dac volume register value

◆ user_volume

int user_volume

Record the user set volume

◆ volume_accuracy

float volume_accuracy

Codec dac volume accuracy(0.5 or 1)

◆ zero_volume_reg

uint8_t zero_volume_reg

Codec register value for zero dac volume


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