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.
před 2 roky
jacqueline
18345a1c2c
Silence chatty touchwheel log
před 2 roky
jacqueline
02b897d536
smol version bump
před 2 roky
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
před 2 roky
jacqueline
a67cd1dec6
Ensure the resampler is allocated in internal ram
...
It's quite small!
před 2 roky
jacqueline
1b7821a474
improve the locking strategy of the bluetooth fsm
před 2 roky
jacqueline
d23435fab7
Retry bt device connections
...
i hate this janky-ass protocol
před 2 roky
jacqueline
aff28342d9
let the bluetooth stack handle its own discovery state
před 2 roky
jacqueline
a75adfc124
version bump
před 2 roky
jacqueline
0bb12912bc
Implement basic volume control for bt outputs
před 2 roky
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
před 2 roky
jacqueline
ab314b82e1
fix bt settings button initial state
před 2 roky
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
před 2 roky
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
před 2 roky
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
před 2 roky
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
před 2 roky
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)
před 2 roky
jacqueline
177277334f
focus the play/pause toggle when entering the now playing screen
před 2 roky
jacqueline
5f6af82e8a
luavgl: add a method to focus an object
před 2 roky
Hailey Somerville
bf761e034c
add version console command
před 2 roky
Hailey Somerville
44d848ac66
define database::kCurrentDbVersion publicly
před 2 roky
Hailey Somerville
c29b5521ed
add luarun command
před 2 roky
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
před 2 roky
jacqueline
f4d8b2b04a
hey i found 40KiB SRAM behind the couch!
před 2 roky
jacqueline
e073309907
Properly persist bluetooth mode changes
před 2 roky
jacqueline
0f03efe868
Make db updates more robust again the sd card disappearing
...
Accidentally found a bug while live on youtube :)
před 2 roky
jacqueline
299f3cc48f
Preserve the queue when going into standby
před 2 roky
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
před 2 roky
Hailey Somerville
5f7fda0252
change suggested flash baudrate to 1000000
před 2 roky
Robin Howard
e2a6c3b5b3
Adds missing greyed-out state images for next and previous; oops!
před 2 roky
jacqueline
71280f93bd
sorry the tests dont work
před 2 roky
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?
před 2 roky
jacqueline
79a6dc1a3e
Use a cache for lvgl images
před 2 roky
jacqueline
ee867f2dbc
add an indicator for database updates
před 2 roky
jacqueline
2626c0cffc
Do a db update after every mount
před 2 roky
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
před 2 roky
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 :)
před 2 roky
jacqueline
fde45dba39
Explicitly specify C++23
před 2 roky
jacqueline
d5d1f2247a
version bump
před 2 roky
jacqueline
587c585ba6
Don't unmount the sd card as aggressively
před 2 roky
jacqueline
816c30afb5
Panic on task WDT
...
deadlocks should probably not free the device!
před 2 roky
jacqueline
1494e08ea2
Handle read errors properly
před 2 roky
jacqueline
968d545d67
hand off the sd card to the samd properly, and remount when it's finished
před 2 roky
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.
před 2 roky
jacqueline
c399199bfc
Improve handling of sd card changes during runtime
...
- mount if an sd card is inserted
- unmount if it's removed
před 2 roky
jacqueline
9039a97ab4
version bump due to schema version bump
před 2 roky
jacqueline
04ff8bf492
Extract album artist from libtags-processed files
před 2 roky
Robin Howard
6b9a513214
Merge pull request 'Makes the ⏮ and ⏭ on the Now Playing screen work' ( #14 ) from rh/next-prev into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/14
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
před 2 roky
Robin Howard
2f93ac3c59
Add next+prev buttons to the Now Playing screen.
před 2 roky
Robin Howard
429abd1237
Fix bug where calling TrackQueue's next() repeatedly would increase the position despite running off the end of the queue.
před 2 roky