summaryrefslogtreecommitdiff
path: root/src/tasks/tasks.cpp
AgeCommit message (Collapse)Author
2025-04-14move some task stacks to external RAMBe
To free up some internal RAM space
2024-08-12Bump up the ui task stack sizejacqueline
2024-08-09Claw back some internal ramjacqueline
- 'main' doesn't need 12k of internal ram - lvgl's draw task doesn't need that much either - also lower the bg worker stack sizes whilst we're here, since they've got tons over headroom
2024-07-10Move audio decoder priorities below bluetoothjacqueline
The previous priority was leading to a nasty consistent stutter, as reading samples from the drain suffer would lead to the decoder immediately unblocking and preempting the SBC encoding.
2024-05-02Replace cpp::span shim with std::spanjacqueline
2024-02-14Tweak opus build flags and allocsjacqueline
This gets us to ~40% of one core cpu usage during playback. Good enough for a while I reckon! Paid for the internal ram usage by reclaiming some stack size headroom.
2024-02-01Reduce leveldb cache sizes and worker stacks, increase number of workersjacqueline
2024-02-01Use a single pool of bg workers instead of separate tasks per use casejacqueline
Also: bump the number of workers tasks up to 3 from 2! This makes bg db updates + playback work :)
2023-11-07Rename the db background task to be more genericjacqueline
2023-11-07Add a wrapper codec source that does readaheadjacqueline
2023-10-12Ensure StaticTask_t allocs are internaljacqueline
2023-09-26Make NVS access synchronous againjacqueline
Everything relevant is back in internal ram, and likely to stay there.
2023-09-26Tune buffer sizes and locations for I2Sjacqueline
2023-09-26std::string -> std::pmr::string in psramjacqueline
2023-09-25Move UI task back to internal stackjacqueline
It really is *so* fast
2023-09-25Move a few task stacks into internal ram for better speedjacqueline
2023-09-25Bump up nvs writer task size for safetyjacqueline
2023-09-12Use interrupt-based spi for the displayjacqueline
This solves our "audio stutters while scrolling" problem better! Turns out the real root cause was the polling SPI driver blocking a whole CPU during playback.
2023-09-05Move UI task to priority 0 during playbackjacqueline
Also other misc task cleanup
2023-08-29store the screen brightness in nvsjacqueline
2023-08-15Flesh out basic bluetooth supportjacqueline
No ui yet, and performance isn't great. It kinda works though!!
2023-08-10Give codecs complete control of their input filesjacqueline
2023-08-03Add very limited resampling (it's slow as shit)jacqueline
2023-07-31fix flac playback. now it plays nice and smooth :)jacqueline
2023-07-25fuck offjacqueline
2023-06-19Support playing tracks by track idjacqueline
2023-06-16Fix issues with importing my entire libraryjacqueline
2023-06-15Add vorbis and flac decoders, flesh out codec interfacejacqueline
vorbis doesn't quite work yet, not sure why. will pick it up again later.
2023-06-01Add touchwheel -> encoder adapterjacqueline
2023-05-24Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fwjacqueline
2023-05-23Annote E V E R Y T H I N G with license infojacqueline
2023-05-23Remove audio drain taskjacqueline
ISR drain works fine!
2023-05-22Generalise worker tasks, and centralise task priorities + stacksjacqueline
Includes making the display driver use a worker task for flushes, so that our double buffering actually does something useful /facepalm
2023-04-19Pipeline working and outputting correctly, but noisyjacqueline
2022-11-23Start on a couple of include issuesjacqueline
2022-11-23Mostly done pipeline arch. Now onto cleanup and building.jacqueline