rg_audio: Fixed audio init failed because of interupt conflict

This commit is contained in:
Alex Duchesne 2022-02-27 12:51:47 -05:00
parent 8c6b56b88c
commit 31d4b76442
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ void rg_audio_init(int sampleRate)
.communication_format = I2S_COMM_FORMAT_STAND_MSB,
.dma_buf_count = 2,
.dma_buf_len = RG_MIN(sampleRate / 50 + 1, 640), // The unit is stereo samples (4 bytes)
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // Interrupt level 1
.intr_alloc_flags = 0, // ESP_INTR_FLAG_LEVEL1
.use_apll = 0
};
esp_err_t ret = ESP_FAIL;

View File

@ -34,7 +34,7 @@
],
"settings": {
"esp.sdk-path": "C:/Users/alex/Apps/esp-idf/frameworks/esp-idf-v4.1.2",
"esp.tools-path": "C:/Users/alex/Apps/esp-idf/tools/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf",
"esp.tools-path": "C:/Users/alex/Apps/esp-idf/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf",
"git.confirmForcePush": false,
"C_Cpp.default.defines": [