jacqueline
|
265049c519
|
Count samples going in and out of the drain buffer
This is a more accurate way of knowing which track is playing when, and
also simplifies a lot of fragile logic in audio_fsm
|
12 months ago |
jacqueline
|
26eb580043
|
move driver includes into a subdir as well
|
12 months ago |
jacqueline
|
7d7f7755d1
|
start moving include files into subdirs
|
12 months ago |
jacqueline
|
1573a8c4cd
|
WIP merge cyclically dependent components into one big component
|
12 months ago |
jacqueline
|
251c0ba96d
|
Fix null poiner dereference when turning off i2s output twice
|
1 year ago |
jacqueline
|
4cec85af2d
|
implement handling of stream/playback ending
|
1 year ago |
ailurux
|
6586819171
|
WIP Commit- Lua setters for volume, bluetooth todo
|
1 year ago |
jacqueline
|
173b09b015
|
Clear the drain buffer when skipping between tracks
|
1 year ago |
jacqueline
|
34cae4e6e4
|
add an alerts module for lua, and implement a volume indicator with it
|
1 year ago |
jacqueline
|
938ba62f57
|
refactor handling of volume steps; improve controls
|
1 year ago |
Robin Howard
|
18d90051c9
|
Annotates the kTag with maybe_unused; they're only used for logging.
|
2 years ago |
jacqueline
|
ddf0128496
|
Do not deafen people
|
2 years ago |
jacqueline
|
912f9c0757
|
Free the i2s dma channel when it's not in use
It turns out this is why bluetooth playback keeps running out of memory
/facepalm
|
2 years ago |
jacqueline
|
7523772886
|
Decouple play/pause from output on/off
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.
|
2 years ago |
jacqueline
|
8608f9367f
|
Tune buffer sizes and locations for I2S
|
2 years ago |
jacqueline
|
d5d6e3993c
|
Support changing max volume, persisted to nvs
|
2 years ago |
jacqueline
|
320fdeb9d8
|
Use a service locator instead of passing around subsets of drivers between FSMs
|
2 years ago |
jacqueline
|
485e9adfce
|
Performance tweaks for smoother tunes
- Pin the decoder task to APP_CORE to reduce context switches
- Increase sample buffer sizes
|
2 years ago |
jacqueline
|
c635d5011c
|
Put more audio pipeline wiring in control of the audio fsm
|
2 years ago |
jacqueline
|
4e27de21e4
|
clean up a bunch of obselete audio code
|
2 years ago |
jacqueline
|
d6b83fcf4a
|
Flesh out basic bluetooth support
No ui yet, and performance isn't great. It kinda works though!!
|
2 years ago |
jacqueline
|
d8fc77101d
|
Give codecs complete control of their input files
|
2 years ago |
jacqueline
|
6c3501dbcb
|
Flesh out opus decoder. it doesn't work! i hate opus.
|
2 years ago |
jacqueline
|
93ccf11fc5
|
Investigate and improve core pinning for resampler
|
2 years ago |
jacqueline
|
6c99f9f2fe
|
Fix resampler issue, do a little performance tuning
|
2 years ago |
jacqueline
|
c38754401b
|
Downscaling working!
|
2 years ago |
jacqueline
|
a66c342806
|
Resampling *basically* working? Just cleanup and buffering issues
|
2 years ago |
jacqueline
|
4118d880c3
|
Fix dangle build issues, do some tweaks to investigate performance
|
2 years ago |
jacqueline
|
60f7677132
|
Do our own resampling
|
2 years ago |
jacqueline
|
3511852f39
|
Add very limited resampling (it's slow as shit)
|
2 years ago |
jacqueline
|
97bd3be892
|
clang-format
|
2 years ago |
jacqueline
|
3670859d16
|
Volume control! Reasonable default volume! Hooray!
|
2 years ago |
jacqueline
|
9b1b401dcb
|
big cleanup of new encoder + stream buffer types
|
2 years ago |
jacqueline
|
80d7df9109
|
fuck off
|
2 years ago |
jacqueline
|
371f0a20ca
|
Clean up gpios interface
|
2 years ago |
jacqueline
|
0347555d5b
|
Start on converting gpio expander interupts to fsm events
|
2 years ago |
jacqueline
|
b58b072d2d
|
Add current playback timestamps
|
2 years ago |
jacqueline
|
1f903accd9
|
Flesh out audio state machine for playback
Also fix mono playback
|
2 years ago |
jacqueline
|
610991455d
|
R4 pre-emptive bringup
Includes stripping out the IC-specific I2S stuff, and doing more manual
volume control using pots
|
2 years ago |
jacqueline
|
a4f94c812a
|
Annote E V E R Y T H I N G with license info
|
2 years ago |
jacqueline
|
a6ab150405
|
Add tinyfsm, start converting core functions to an FSM-based event loop
|
2 years ago |
jacqueline
|
5575378c1c
|
fix use-after-move
|
2 years ago |
jacqueline
|
7083459cf3
|
wrap driver instance ownership + di in a class
|
2 years ago |
jacqueline
|
2d95b63727
|
Working without big distortion :)
|
2 years ago |
jacqueline
|
731b2cfa77
|
working isr-based sink, but still grainy
|
2 years ago |
jacqueline
|
4c77950e70
|
Pipeline working and outputting correctly, but noisy
|
2 years ago |
jacqueline
|
3836768bb8
|
new pipeline working(?), but the dac eludes me
|
2 years ago |
jacqueline
|
7c6fd654f5
|
New pipeline building, still needs proper control
|
2 years ago |
jacqueline
|
a9531c86a4
|
mostly single task pipeline
|
2 years ago |
jacqueline
|
47ae601d41
|
Tidy up pipeline and use arena capacity to test for overruns
|
2 years ago |