diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-05 09:51:10 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-05 09:51:10 +1000 |
| commit | 0032896251d8ddc6c2775495445da8fceffba98e (patch) | |
| tree | 5a7f981a832977c153bc9a292305b61605b8eb66 /src/tasks/tasks.hpp | |
| parent | 382d82a14b1427f18a05eae7fb7763d4fa5bc319 (diff) | |
| download | tangara-fw-0032896251d8ddc6c2775495445da8fceffba98e.tar.gz | |
Move UI task to priority 0 during playback
Also other misc task cleanup
Diffstat (limited to 'src/tasks/tasks.hpp')
| -rw-r--r-- | src/tasks/tasks.hpp | 15 |
1 files changed, 7 insertions, 8 deletions
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, }; |
