From a190430b739407c8690a17e8ca4a4d2668101fda Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sat, 7 Sep 2024 22:06:34 +0800 Subject: Use philips format. --- esp32/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esp32/main') diff --git a/esp32/main/main.c b/esp32/main/main.c index 3cce6e5..e0f3e05 100644 --- a/esp32/main/main.c +++ b/esp32/main/main.c @@ -51,7 +51,7 @@ static inline void i2s_init(void) i2s_std_config_t std_cfg = { .clk_cfg = I2S_STD_CLK_DEFAULT_CONFIG(SAMP_RATE), - .slot_cfg = I2S_STD_MSB_SLOT_DEFAULT_CONFIG( + .slot_cfg = I2S_STD_PHILIPS_SLOT_DEFAULT_CONFIG( I2S_DATA_BIT_WIDTH_24BIT, I2S_SLOT_MODE_MONO), .gpio_cfg = { -- cgit v1.2.3