From 5d6456fa306dba6eb34ebaa4224460a198eb2030 Mon Sep 17 00:00:00 2001 From: Yu Zhe Date: Fri, 17 Dec 2021 11:15:59 +0800 Subject: [PATCH] Increase the priority of decoding tasks to improve the problem of noise when the UI is updated --- examples/mp3_demo/main/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mp3_demo/main/audio.c b/examples/mp3_demo/main/audio.c index d3e4323..80ade49 100644 --- a/examples/mp3_demo/main/audio.c +++ b/examples/mp3_demo/main/audio.c @@ -427,7 +427,7 @@ esp_err_t mp3_player_start(char *file_path) (const char * const) "Audio Task", (const uint32_t) 4 * 1024, (void * const) file_path, - (UBaseType_t) 1, + (UBaseType_t) configMAX_PRIORITIES - 1, (TaskHandle_t * const) NULL, (const BaseType_t) 0);