Fix i2s channel

This commit is contained in:
Jesse Hills 2024-06-05 13:41:18 +12:00
parent b6f69cef56
commit 85a3789fb9
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 1 additions and 1 deletions

View File

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