jacqueline
a37b517356
Improve handing of tracks with missing titles
2 vuotta sitten
jacqueline
cb0c42060b
more i2s/bt drain buffer size tweaks
2 vuotta sitten
jacqueline
26df5c4a7f
Remember per-device bluetooth volume
2 vuotta sitten
jacqueline
a7ac34eaa9
hack around deadlock during bt disable
2 vuotta sitten
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.
2 vuotta sitten
jacqueline
18345a1c2c
Silence chatty touchwheel log
2 vuotta sitten
jacqueline
02b897d536
smol version bump
2 vuotta sitten
jacqueline
c0be3f863f
Deliver AVRC events on a background thread
...
We don't currently do anything with them, so need to wait for the lock
on the bt thread
2 vuotta sitten
jacqueline
a67cd1dec6
Ensure the resampler is allocated in internal ram
...
It's quite small!
2 vuotta sitten
jacqueline
1b7821a474
improve the locking strategy of the bluetooth fsm
2 vuotta sitten
jacqueline
d23435fab7
Retry bt device connections
...
i hate this janky-ass protocol
2 vuotta sitten
jacqueline
aff28342d9
let the bluetooth stack handle its own discovery state
2 vuotta sitten
jacqueline
a75adfc124
version bump
2 vuotta sitten
jacqueline
0bb12912bc
Implement basic volume control for bt outputs
2 vuotta sitten
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
2 vuotta sitten
jacqueline
ab314b82e1
fix bt settings button initial state
2 vuotta sitten
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
2 vuotta sitten
cooljqln
0731a3fbcc
Merge pull request 'Add version command' ( #29 ) from hails/tangara-fw:version-command into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/29
2 vuotta sitten
cooljqln
8c628590b2
Merge pull request 'Add luarun command' ( #28 ) from hails/tangara-fw:luarun into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/28
2 vuotta sitten
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
2 vuotta sitten
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)
2 vuotta sitten
jacqueline
177277334f
focus the play/pause toggle when entering the now playing screen
2 vuotta sitten
jacqueline
5f6af82e8a
luavgl: add a method to focus an object
2 vuotta sitten
Hailey Somerville
bf761e034c
add version console command
2 vuotta sitten
Hailey Somerville
44d848ac66
define database::kCurrentDbVersion publicly
2 vuotta sitten
Hailey Somerville
c29b5521ed
add luarun command
2 vuotta sitten
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
2 vuotta sitten
jacqueline
f4d8b2b04a
hey i found 40KiB SRAM behind the couch!
2 vuotta sitten
jacqueline
e073309907
Properly persist bluetooth mode changes
2 vuotta sitten
jacqueline
0f03efe868
Make db updates more robust again the sd card disappearing
...
Accidentally found a bug while live on youtube :)
2 vuotta sitten
jacqueline
299f3cc48f
Preserve the queue when going into standby
2 vuotta sitten
cooljqln
811c335c2a
Merge pull request 'Change suggested flash baudrate to 1000000' ( #27 ) from hails/tangara-fw:building-readme-baudrate into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/27
2 vuotta sitten
Hailey Somerville
5f7fda0252
change suggested flash baudrate to 1000000
2 vuotta sitten
Robin Howard
e2a6c3b5b3
Adds missing greyed-out state images for next and previous; oops!
2 vuotta sitten
jacqueline
71280f93bd
sorry the tests dont work
2 vuotta sitten
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?
2 vuotta sitten
jacqueline
79a6dc1a3e
Use a cache for lvgl images
2 vuotta sitten
jacqueline
ee867f2dbc
add an indicator for database updates
2 vuotta sitten
jacqueline
2626c0cffc
Do a db update after every mount
2 vuotta sitten
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
2 vuotta sitten
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 :)
2 vuotta sitten
jacqueline
fde45dba39
Explicitly specify C++23
2 vuotta sitten
jacqueline
d5d1f2247a
version bump
2 vuotta sitten
jacqueline
587c585ba6
Don't unmount the sd card as aggressively
2 vuotta sitten
jacqueline
816c30afb5
Panic on task WDT
...
deadlocks should probably not free the device!
2 vuotta sitten
jacqueline
1494e08ea2
Handle read errors properly
2 vuotta sitten
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
2 vuotta sitten
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.
2 vuotta sitten
jacqueline
c399199bfc
Improve handling of sd card changes during runtime
...
- mount if an sd card is inserted
- unmount if it's removed
2 vuotta sitten
jacqueline
9039a97ab4
version bump due to schema version bump
2 vuotta sitten