ailurux
d25e5860c7
Only update scrubber if not currently dragging
1 year ago
jacqueline
10770e0f54
Use -Ofast for all codecs that don't break with it
1 year ago
jacqueline
4bc77f901b
Tweak opus build flags and allocs
...
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.
1 year ago
jacqueline
f772ab9f20
put the big opus alloc back into spiram
...
it's not clear to me that it helps *that* much, since the ogg allocs are
in internal ram anyway, and the memory pressure is just a bit much
1 year ago
jacqueline
7ec0ff2589
Switch to the lowmem tremor branch
...
in addition to using slightly less memory, this branch also doesn't seem
to have the same issues with `-O2` builds that the main branch has.
1 year ago
jacqueline
b31bc07555
fix (improve?) libtremor strangeness
...
something fucky
1 year ago
jacqueline
c1b03c151e
put opus' allocations into internal ram
...
it's a pretty chonky codec, but this seems like the best way to tame its
performance.
1 year ago
jacqueline
a67cd1dec6
Ensure the resampler is allocated in internal ram
...
It's quite small!
1 year ago
jacqueline
5f6af82e8a
luavgl: add a method to focus an object
1 year ago
jacqueline
32cee65809
Accept opus files that don't fully parse, remove opus-specific tag parser
...
The libtags change is a bit of a hack... I think we're running into
tracks that have long lyrics tags, which pushes the other tags out onto
the next ogg page?
1 year ago
jacqueline
79a6dc1a3e
Use a cache for lvgl images
1 year ago
jacqueline
04ff8bf492
Extract album artist from libtags-processed files
1 year ago
jacqueline
d1ae1a4230
on second thought, let's not violate patents. 'tis a silly system.
1 year ago
jacqueline
c1b7a0c9f2
move lua ui-related data to spi ram
1 year ago
jacqueline
7cdcd44e0c
Begin migration of remaining screens to Lua
1 year ago
jacqueline
1b2d791a05
Use doubles instead of floats for lua numbers (this unpins the ui task)
1 year ago
jacqueline
abdc00fd2d
Add faad2 for aac decoding
1 year ago
jacqueline
aa1dd3d522
fix issues with luavgl type annotations
1 year ago
jacqueline
62d51a304e
replace foxenflac with miniflac
...
it's better!
1 year ago
jacqueline
64b106c13e
add a cool lua repl
1 year ago
jacqueline
ca5d7b867c
Add shuffle and repeat options for the playback queue
1 year ago
jacqueline
3f7f199cb9
Remove pre-iterator concepts
...
- No more IndexRecord/Result/dbGetPage nonsense
- Queue is just track ids
- i am so tired and have so much to do
1 year ago
jacqueline
7c6eb2997c
Migrate 'now playing' screen to lua
1 year ago
jacqueline
b07bfbc6c7
Add a second font, flesh out browser screen
1 year ago
jacqueline
06aca259cb
Add basic lua browser screen
1 year ago
jacqueline
f34b640588
Add 'btn' support to luavgl
1 year ago
jacqueline
71ed09a6f7
Add two-way databinding for lua, and flesh out the lua statusbar
1 year ago
jacqueline
8a0a167adb
Convert the main menu screen to lua lol
1 year ago
jacqueline
0e661409b1
Fix missing licenses
...
Includes removing unused shared_string
This helps with #6 , but there's still more work to do
1 year ago
jacqueline
9dc8f5646c
Make foxenflac a little less memory hungry
...
We should really just use the xiph library :/
1 year ago
Robin Howard
4ec1cccf4d
Bump to latest 5.1 changes since 5.1.1 release.
1 year ago
jacqueline
c27880282a
Bump esp-idf to v5.1.1
2 years ago
jacqueline
bb91724b94
Codec memory tweaks
...
- Ensure mad and ogg structs are allocated internally
- Free old codec before making a new one
2 years ago
jacqueline
afbf3c31f4
Use libcppbor for much much nicer db encoding
2 years ago
jacqueline
f09ba5ffd5
Use bindey for databinding instead of hand rolling ui updates
2 years ago
jacqueline
a2eb0e8961
Fix incorrect default theme
2 years ago
jacqueline
dd13a234d2
Place LVGL's memory pool into PSRAM
2 years ago
jacqueline
25c2df57dd
Fix some release build warnings
2 years ago
jacqueline
51cb168f79
sorry daniel
2 years ago
jacqueline
958160aa54
Use the libspeexdsp resampler
...
AFAICT it runs a little slower? but it's fixed point, and has much
better understood audio characteristics.
2 years ago
jacqueline
67caeb6e3c
Use opusfile instead of working directly with ogg and opus
2 years ago
jacqueline
f277bd5d0c
Add tremor, add new ogg rules to make tremor deps happy
2 years ago
jacqueline
1b6811663c
Add libogg for handling opus streams reasonably
2 years ago
jacqueline
60f7677132
Do our own resampling
2 years ago
jacqueline
3b240d1cd5
remove stb_vorbis
...
it doesnt work very well
2 years ago
jacqueline
3511852f39
Add very limited resampling (it's slow as shit)
2 years ago
jacqueline
fbebc52511
Add libsamplerate for resampling decoder output
2 years ago
jacqueline
23393312b7
checkin in opus reference decoder
2 years ago
jacqueline
d41de537a0
fix libtags m4a issue
2 years ago
jacqueline
7b72e5479e
fork the esp-idf fatfs for f_forward and exfat support
2 years ago