firmware: add equalizing commands
bass boost (B) and treble boost (T)
This commit is contained in:
@@ -20,9 +20,9 @@ int bd_set_gain(I2C_HandleTypeDef * handle, uint8_t gain_in_db);
|
||||
uint8_t bd_set_attenuation(I2C_HandleTypeDef * handle, uint8_t right_channel, uint8_t attenuation_in_db);
|
||||
|
||||
// when gain == 0, cut bass boost
|
||||
void bd_set_bass_boost(I2C_HandleTypeDef * handle, uint8_t gain);
|
||||
uint8_t bd_set_bass_boost(I2C_HandleTypeDef * handle, uint8_t gain);
|
||||
// when gain == 0, cut treble boost
|
||||
void bd_set_treble_boost(I2C_HandleTypeDef * handle, uint8_t gain);
|
||||
uint8_t bd_set_treble_boost(I2C_HandleTypeDef * handle, uint8_t gain);
|
||||
|
||||
enum BD_SOURROUND_GAIN {
|
||||
BD_SOURROUND_OFF = 0,
|
||||
|
||||
Reference in New Issue
Block a user