mirror of
https://github.com/esphome/esphome.git
synced 2025-01-09 14:21:46 +01:00
Update flags
This commit is contained in:
parent
3e58ee2130
commit
b05e7bfe0a
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ void ESPADFMicrophone::read_task(void *params) {
|
|||
.use_apll = false,
|
||||
.tx_desc_auto_clear = true,
|
||||
.fixed_mclk = 0,
|
||||
.mclk_multiple = I2S_MCLK_MULTIPLE_DEFAULT,
|
||||
.mclk_multiple = I2S_MCLK_MULTIPLE_256,
|
||||
.bits_per_chan = I2S_BITS_PER_CHAN_DEFAULT,
|
||||
};
|
||||
|
||||
|
@ -121,7 +121,7 @@ void ESPADFMicrophone::read_task(void *params) {
|
|||
.dest_rate = 16000,
|
||||
.dest_bits = 16,
|
||||
.dest_ch = 1,
|
||||
.src_bits = 16,
|
||||
.src_bits = I2S_BITS_PER_SAMPLE_16BIT,
|
||||
.mode = RESAMPLE_DECODE_MODE,
|
||||
.max_indata_bytes = RSP_FILTER_BUFFER_BYTE,
|
||||
.out_len_bytes = RSP_FILTER_BUFFER_BYTE,
|
||||
|
|
|
@ -55,7 +55,7 @@ void ESPADFSpeaker::player_task(void *params) {
|
|||
.use_apll = false,
|
||||
.tx_desc_auto_clear = true,
|
||||
.fixed_mclk = 0,
|
||||
.mclk_multiple = I2S_MCLK_MULTIPLE_DEFAULT,
|
||||
.mclk_multiple = I2S_MCLK_MULTIPLE_256,
|
||||
.bits_per_chan = I2S_BITS_PER_CHAN_DEFAULT,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue