Update flags

This commit is contained in:
Jesse Hills 2023-09-11 16:07:09 +12:00
parent 3e58ee2130
commit b05e7bfe0a
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A
2 changed files with 3 additions and 3 deletions

View file

@ -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,

View file

@ -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,
};