mirror of
https://github.com/esphome/esphome.git
synced 2024-12-02 19:54:14 +01:00
Fix i2s channel
This commit is contained in:
parent
b6f69cef56
commit
85a3789fb9
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ void ESPADFSpeaker::player_task(void *params) {
|
|||
.mode = (i2s_mode_t) (I2S_MODE_MASTER | I2S_MODE_TX),
|
||||
.sample_rate = 16000,
|
||||
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
|
||||
.channel_format = I2S_CHANNEL_FMT_ONLY_RIGHT,
|
||||
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
|
||||
.communication_format = I2S_COMM_FORMAT_STAND_I2S,
|
||||
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL2 | ESP_INTR_FLAG_IRAM,
|
||||
.dma_buf_count = 8,
|
||||
|
|
Loading…
Reference in a new issue