ailurux
0baad11b18
WIP: Vorbis seeking
1 year ago
ailurux
aece1c6b58
Opus seeking impl
1 year ago
ailurux
c60bb9ee42
Fix issue with seeking whilst paused
1 year ago
jacqueline
5866513c53
Move the list of unexplored files into spiram
1 year ago
ailurux
665679b885
WIP: seeking in lua example
1 year ago
ailurux
a49d754da6
Seeking working with hardcoded event, wav only
1 year ago
ailurux
62f6179abe
Added offset for track seeking, wav impl. only rn
1 year ago
jacqueline
c5917658e6
Cram one of the flac samples buffers into internal ram
...
Can't quite fit the second... yet. Just one is a pretty reasonable
speedup, though! Probably bc we're not hammering the spiram cache so
hard.
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
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
786546653a
include repeat, replay, and shuffle in persisted queue info
1 year ago
ailurux
ffa0894e38
Fixed clamp and write on scroll sensitivity
1 year ago
ailurux
bbbe3a3d55
Updated sensitivity nvs store
1 year ago
ailurux
26ae027d67
Sensitivity value now between 0 and 255
1 year ago
jacqueline
cb379f4bc3
Cache pending nvs writes in memory
...
Includes refactoring nvs settings to be a bit less duplicated
1 year ago
ailurux
0426d245c8
Scroll sensitivity configurable, but inverted
1 year ago
jacqueline
c5cef16c95
Remove some logging whoopsies
1 year ago
jacqueline
a37b517356
Improve handing of tracks with missing titles
1 year ago
jacqueline
cb0c42060b
more i2s/bt drain buffer size tweaks
1 year ago
jacqueline
26df5c4a7f
Remember per-device bluetooth volume
1 year ago
ailurux
527374c72e
Don't hold lock on notifyChanged
1 year ago
ailurux
9512bd97bb
Add buttons for shuffle + repeat track
1 year ago
Robin Howard
7d66572b0f
Adds base dropdown-list styles.
...
Fixes dropdown contents being painted directly on top of anything
sitting below them.
1 year ago
Hailey Somerville
aa2402ab56
include memory_resource in tasks.hpp
1 year ago
jacqueline
a7ac34eaa9
hack around deadlock during bt disable
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
18345a1c2c
Silence chatty touchwheel log
1 year ago
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
1 year ago
jacqueline
1b7821a474
improve the locking strategy of the bluetooth fsm
1 year ago
jacqueline
d23435fab7
Retry bt device connections
...
i hate this janky-ass protocol
1 year ago
jacqueline
aff28342d9
let the bluetooth stack handle its own discovery state
1 year ago
jacqueline
0bb12912bc
Implement basic volume control for bt outputs
1 year ago
jacqueline
99c56641e9
fix various of bluetooth issues
...
connecting and disconnecting is a bit more consistent now!
1 year ago
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
1 year ago
Hailey Somerville
d78bbccdab
convert kCurrentDbVersion to a type of integer that gets stringified
1 year ago
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)
1 year ago
Hailey Somerville
bf761e034c
add version console command
1 year ago
Hailey Somerville
44d848ac66
define database::kCurrentDbVersion publicly
1 year ago
Hailey Somerville
c29b5521ed
add luarun command
1 year ago
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
1 year ago
jacqueline
f4d8b2b04a
hey i found 40KiB SRAM behind the couch!
1 year ago
jacqueline
e073309907
Properly persist bluetooth mode changes
1 year ago
jacqueline
0f03efe868
Make db updates more robust again the sd card disappearing
...
Accidentally found a bug while live on youtube :)
1 year ago
jacqueline
299f3cc48f
Preserve the queue when going into standby
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
ee867f2dbc
add an indicator for database updates
1 year ago
jacqueline
2626c0cffc
Do a db update after every mount
1 year ago
jacqueline
c8bbd4d52c
Reduce leveldb cache sizes and worker stacks, increase number of workers
1 year ago
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 :)
1 year ago