summaryrefslogtreecommitdiff
path: root/src/audio/audio_fsm.cpp
AgeCommit message (Collapse)Author
2024-05-02WIP merge cyclically dependent components into one big componentjacqueline
2024-04-23Enable bluetooth after boot, not during bootjacqueline
This avoids some bluetooth-related devices being delivered before BootComplete
2024-04-11Remember the source of the previous track when opening a new onejacqueline
2024-04-02Merge branch 'main' into lua-volumeailurux
2024-03-28bump esp-idf to 5.2.1jacqueline
2024-03-26implement handling of stream/playback endingjacqueline
2024-03-26pass stream start/update/end events through the whole pipelinejacqueline
2024-03-25WIP rewrie audio pipeline+fsm guts for more reliabilityjacqueline
2024-03-06Restore the previous track position when bootingjacqueline
2024-03-01WIP Commit- Lua setters for volume, bluetooth todoailurux
2024-02-29Clear the drain buffer also when seekingjacqueline
2024-02-29Merge pull request 'Add seeking support for all codecs' (#50) from ↵ailurux
seek-support into main Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/50 Reviewed-by: ailurux <ailurux@noreply.codeberg.org>
2024-02-29Clear the drain buffer when skipping between tracksjacqueline
2024-02-29Merge branch 'main' into seek-supportjacqueline
2024-02-21Wait for the sink buffer to drain before stopping playbackjacqueline
2024-02-21Make the drain buffer very large, and move it into PSRAMjacqueline
the i2s handler and streambuffer metadata are both still in iram for good performance. otherwise, this seems to be enough to make gapless playback work.
2024-02-16Fix issue with seeking whilst pausedailurux
2024-02-16WIP: seeking in lua exampleailurux
2024-02-16Seeking working with hardcoded event, wav onlyailurux
2024-02-15Added offset for track seeking, wav impl. only rnailurux
2024-02-13Cache pending nvs writes in memoryjacqueline
Includes refactoring nvs settings to be a bit less duplicated
2024-02-12Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fwjacqueline
2024-02-12more i2s/bt drain buffer size tweaksjacqueline
2024-02-12Remember per-device bluetooth volumejacqueline
2024-02-12Add buttons for shuffle + repeat trackailurux
2024-02-07put opus' allocations into internal ramjacqueline
it's a pretty chonky codec, but this seems like the best way to tame its performance.
2024-02-06Implement basic volume control for bt outputsjacqueline
2024-02-06fix various of bluetooth issuesjacqueline
connecting and disconnecting is a bit more consistent now!
2024-02-05Properly persist bluetooth mode changesjacqueline
2024-02-05Preserve the queue when going into standbyjacqueline
2024-01-17all screens basically working, but bluetooth is roughjacqueline
2024-01-15Begin migration of remaining screens to Luajacqueline
2024-01-05add an alerts module for lua, and implement a volume indicator with itjacqueline
2024-01-04refactor handling of volume steps; improve controlsjacqueline
2023-12-18Audio fsm usability tweaksjacqueline
- persist the current volume when the screen locks - pause playback if headphones are removed
2023-12-07Remove pre-iterator conceptsjacqueline
- No more IndexRecord/Result/dbGetPage nonsense - Queue is just track ids - i am so tired and have so much to do
2023-12-05Rewrite the track queue to work directly with database iteratorsjacqueline
2023-11-24Migrate 'now playing' screen to luajacqueline
2023-11-07Add a wrapper codec source that does readaheadjacqueline
2023-10-28Annotates the kTag with maybe_unused; they're only used for logging.Robin Howard
2023-10-19Free the i2s dma channel when it's not in usejacqueline
It turns out this is why bluetooth playback keeps running out of memory /facepalm
2023-10-16Decouple play/pause from output on/offjacqueline
I think this was the cause of toggling play/pause making audio go away. Or at least I can't repro that bug anymore, anyway.
2023-10-04Neaten up the various kinds of inputs, and move volumes to The New Wayjacqueline
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-22make bluetooth pairing ui functionaljacqueline
2023-09-05Move UI task to priority 0 during playbackjacqueline
Also other misc task cleanup
2023-09-04Support changing max volume, persisted to nvsjacqueline
2023-08-30Use a service locator instead of passing around subsets of drivers between FSMsjacqueline
2023-08-28Support play/pause togglingjacqueline