i2s volume control
Posted: Thu Jul 01, 2021 6:34 am
hi there,
I am using esp-adf with esp32 wrover and max98375a (no codec, i2s, class d amplifier).
There is no codec, so there are some problems with the volume control.
When using alc, it seems that the volume is controlled through the i2s_alc_volume_set() function.
Is it the right way to adjust the volume using the i2s_alc_volume_set function?
" esp_err_t i2s_alc_volume_set(audio_element_handle_ti2s_stream, int volume) "
What is the minimum and maximum value of the parameter volume?
Thanks in advance.
I am using esp-adf with esp32 wrover and max98375a (no codec, i2s, class d amplifier).
There is no codec, so there are some problems with the volume control.
When using alc, it seems that the volume is controlled through the i2s_alc_volume_set() function.
Is it the right way to adjust the volume using the i2s_alc_volume_set function?
" esp_err_t i2s_alc_volume_set(audio_element_handle_ti2s_stream, int volume) "
What is the minimum and maximum value of the parameter volume?
Thanks in advance.