From 0032896251d8ddc6c2775495445da8fceffba98e Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 5 Sep 2023 09:51:10 +1000 Subject: Move UI task to priority 0 during playback Also other misc task cleanup --- src/tasks/tasks.hpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/tasks/tasks.hpp') diff --git a/src/tasks/tasks.hpp b/src/tasks/tasks.hpp index 17836795..2e43b01a 100644 --- a/src/tasks/tasks.hpp +++ b/src/tasks/tasks.hpp @@ -30,18 +30,17 @@ namespace tasks { enum class Type { // The main UI task. This runs the LVGL main loop. kUi, - // Task for flushing graphics buffers to the display. - kUiFlush, - // TODO. - kFileStreamer, - // The main audio pipeline task. - kAudio, - // TODO - kMixer, + // The main audio pipeline task. Decodes files into PCM stream. + kAudioDecoder, + // Second audio task. Converts the PCM stream into one suitable for the + // current output (e.g. downsampling for bluetooth). + kAudioConverter, // Task for running database queries. kDatabase, // Task for internal database operations kDatabaseBackground, + // Task for interacting with NVS -- this needs to be done with an internal + // stack. kNvsWriter, }; -- cgit v1.2.3