jacqueline
db2e29a72d
Start on audio FSM playback. needs more thought.
2 jaren geleden
jacqueline
3b371cfc54
reuse annotate new files
2 jaren geleden
jacqueline
a4f94c812a
Annote E V E R Y T H I N G with license info
2 jaren geleden
jacqueline
4bff06c76c
Drop himem audio buffers (for now?)
...
For some reason the spinlocks required now block forever? Very odd.
On the plus side, this turned out to be the issue that was stopping the
audio pipeline from running on the app core.
2 jaren geleden
jacqueline
ecee01fe97
Remove audio drain task
...
ISR drain works fine!
2 jaren geleden
jacqueline
5ac4d3949c
Generalise worker tasks, and centralise task priorities + stacks
...
Includes making the display driver use a worker task for flushes, so
that our double buffering actually does something useful /facepalm
2 jaren geleden
jacqueline
a6ab150405
Add tinyfsm, start converting core functions to an FSM-based event loop
3 jaren geleden
jacqueline
5575378c1c
fix use-after-move
3 jaren geleden
jacqueline
7083459cf3
wrap driver instance ownership + di in a class
3 jaren geleden
jacqueline
130009eb14
Pin audio pipeline to the app core
3 jaren geleden
jacqueline
27c63ebb95
Switch to an MVP-ready 16bit three wire DAC setup
3 jaren geleden
jacqueline
2d95b63727
Working without big distortion :)
3 jaren geleden
jacqueline
731b2cfa77
working isr-based sink, but still grainy
3 jaren geleden
jacqueline
4c77950e70
Pipeline working and outputting correctly, but noisy
3 jaren geleden
jacqueline
561f9d2a07
Ensure the sink buffer is large enough to not fully drain during
...
playback
3 jaren geleden
jacqueline
25c5896dc5
add some bounds checking asserts
3 jaren geleden
jacqueline
7a54ff0df9
WIP track down new pipeline memory issues
3 jaren geleden
jacqueline
40a9734b04
Redo pcm registers to include pages
3 jaren geleden
jacqueline
3836768bb8
new pipeline working(?), but the dac eludes me
3 jaren geleden
jacqueline
7c6fd654f5
New pipeline building, still needs proper control
3 jaren geleden
jacqueline
a9531c86a4
mostly single task pipeline
3 jaren geleden
jacqueline
47ae601d41
Tidy up pipeline and use arena capacity to test for overruns
3 jaren geleden
jacqueline
941bafca17
Add a memory arena for the audio pipeline
3 jaren geleden
jacqueline
12d2ffdab7
Add logging to the DAC
3 jaren geleden
jacqueline
a65d996583
Use the sync apis for I2S output
3 jaren geleden
jacqueline
61c91b3cdb
Mostly working pipeline, including proper EOF signalling
3 jaren geleden
jacqueline
cabfd4b75e
fix pipeline heap corruption and chunk ignores
3 jaren geleden
jacqueline
9eecf78e08
fixing reading past eof
3 jaren geleden
jacqueline
aae1871999
remove unused ISR allocation
...
this was blocking the i2s driver somehow!(?)
3 jaren geleden
jacqueline
ef8d404b15
Continue ironing out i2s pipeline
...
still at least one heap corruption issue, plus the i2s write method
seems to block forever :/
3 jaren geleden
jacqueline
2cc0a38a1a
pipeline memory management fixes + logging
3 jaren geleden
jacqueline
7b60f5f864
Make StreamInfo a PDO
3 jaren geleden
jacqueline
3696512b38
Fix memory leak, re-enable play command (it doesnt work lol)
3 jaren geleden
jacqueline
f6dcd845fc
Switch from MessageBuffer to Queue for pipeline comms
3 jaren geleden
jacqueline
e5fb1759b1
Add a bunch of logging from playback stream investigatons
3 jaren geleden
jacqueline
0560fa7f10
clang-format
3 jaren geleden
jacqueline
8ed3d7e31f
Re-enable the parts of the audio pipeline that are working
3 jaren geleden
jacqueline
c7901ae429
build fixes for new compiler version and standard
3 jaren geleden
jacqueline
4c88fcc4a5
fix build issues with new pipeline
3 jaren geleden
jacqueline
2056cad0ab
WIP
3 jaren geleden
jacqueline
01be69eca1
better handling of chunk buffer
3 jaren geleden
jacqueline
f35bb64c2b
basic i2s output element
3 jaren geleden
jacqueline
e0b2562cc4
fix missing std::
3 jaren geleden
jacqueline
bf6f9cea20
building codec tests!
3 jaren geleden
jacqueline
16d5d29049
Use std::span (backported) and std::byte to make our buffers safer
3 jaren geleden
jacqueline
f212c1f02f
fix unused result
3 jaren geleden
jacqueline
c36208016e
better cbor handling
3 jaren geleden
jacqueline
222c810b07
fix build errors
3 jaren geleden
jacqueline
a7df285588
Mostly done pipeline arch. Now onto cleanup and building.
3 jaren geleden
jacqueline
dfa9ab6e04
template-ify the cbor stuff
3 jaren geleden