jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
il y a 2 ans
jacqueline
7fbb2162ee
Start keeping lock switch polarity in nvs
...
i will use this to do a sneaky trick; in-place upgrading brendan,
hailey, and erin's devices
il y a 2 ans
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
il y a 2 ans
jacqueline
2184b6c5f7
send a time=0 progress update after opening each file
...
this helps populate things like the now playing screen when a file is
opened without unpausing (e.g. when restoring a saved queue after boot)
il y a 2 ans
Hailey Somerville
bf761e034c
add version console command
il y a 2 ans
Hailey Somerville
44d848ac66
define database::kCurrentDbVersion publicly
il y a 2 ans
Hailey Somerville
c29b5521ed
add luarun command
il y a 2 ans
jacqueline
f2df12836f
tweak pipeline buffers rather than i2s dma buffer
...
this maintains the bluetooth changes to buffer sizes, but keeps the most
important i2s buffer the same size
il y a 2 ans
jacqueline
f4d8b2b04a
hey i found 40KiB SRAM behind the couch!
il y a 2 ans
jacqueline
e073309907
Properly persist bluetooth mode changes
il y a 2 ans
jacqueline
0f03efe868
Make db updates more robust again the sd card disappearing
...
Accidentally found a bug while live on youtube :)
il y a 2 ans
jacqueline
299f3cc48f
Preserve the queue when going into standby
il y a 2 ans
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?
il y a 2 ans
jacqueline
ee867f2dbc
add an indicator for database updates
il y a 2 ans
jacqueline
2626c0cffc
Do a db update after every mount
il y a 2 ans
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
il y a 2 ans
jacqueline
dad159dc3c
Use a single pool of bg workers instead of separate tasks per use case
...
Also: bump the number of workers tasks up to 3 from 2!
This makes bg db updates + playback work :)
il y a 2 ans
jacqueline
587c585ba6
Don't unmount the sd card as aggressively
il y a 2 ans
jacqueline
1494e08ea2
Handle read errors properly
il y a 2 ans
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
il y a 2 ans
jacqueline
eacea59e8a
Do more to avoid and recover from partial db updates
...
- do not power off in an update is in progress
- explicitly store last update time, rather than deriving it from
unchanged tracks.
il y a 2 ans
jacqueline
c399199bfc
Improve handling of sd card changes during runtime
...
- mount if an sd card is inserted
- unmount if it's removed
il y a 2 ans
jacqueline
04ff8bf492
Extract album artist from libtags-processed files
il y a 2 ans
Robin Howard
429abd1237
Fix bug where calling TrackQueue's next() repeatedly would increase the position despite running off the end of the queue.
il y a 2 ans
Robin Howard
3f1fadbeef
Plumb queue next+previous through to Lua, incl. with stubs and docs.
il y a 2 ans
jacqueline
cd650b30bd
fix some lua stack leaks + add a console func to help debug
il y a 2 ans
jacqueline
1525afe8aa
fix issue with unclipped dither
il y a 2 ans
jacqueline
d1ae1a4230
on second thought, let's not violate patents. 'tis a silly system.
il y a 2 ans
jacqueline
2d7f9fc775
calculate length for CBR mp3 files
il y a 2 ans
jacqueline
200a43fad3
fix issues with some song info not appearing
il y a 2 ans
jacqueline
c1b7a0c9f2
move lua ui-related data to spi ram
il y a 2 ans
jacqueline
ea8a7b0f93
allocate lua properties in spi ram
il y a 2 ans
jacqueline
c0ec19c496
fix some properties that got copied wrong
il y a 2 ans
jacqueline
a81c7a8a86
split out track pushing
il y a 2 ans
jacqueline
1f5249de6f
shift some long-lived allocs into spi ram
il y a 2 ans
jacqueline
08d16e8580
whoops
il y a 2 ans
jacqueline
a4d03fc704
Make reindex button work; no feedback yet
il y a 2 ans
jacqueline
71b4673039
all screens basically working, but bluetooth is rough
il y a 2 ans
jacqueline
7cdcd44e0c
Begin migration of remaining screens to Lua
il y a 2 ans
ailurux
0e04eb918e
wav-codec ( #13 )
...
here is a wav decoder, enjoy!
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/13
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
il y a 2 ans
jacqueline
55bde70b96
add accurate esp and samd versions + expose this info to lua
il y a 2 ans
jacqueline
1b2d791a05
Use doubles instead of floats for lua numbers (this unpins the ui task)
il y a 2 ans
jacqueline
abdc00fd2d
Add faad2 for aac decoding
il y a 2 ans
jacqueline
44fdf69674
tweak wheel sensitivity, improve AKS for centre button
il y a 2 ans
jacqueline
09eacb71f0
bringup r8 muting
il y a 2 ans
jacqueline
0db85f5e9e
move default theme into styles, for easier lua overrides
il y a 2 ans
jacqueline
e12a68a74d
split lua stubs into one set for ldoc, and one set for lua-ls
il y a 2 ans
jacqueline
34cae4e6e4
add an alerts module for lua, and implement a volume indicator with it
il y a 2 ans
jacqueline
938ba62f57
refactor handling of volume steps; improve controls
il y a 2 ans
jacqueline
42a98a3799
disable group wrapping by default
il y a 2 ans