jacqueline
690c64c151
Fix playback after restoring queue on boot
12 months ago
jacqueline
265049c519
Count samples going in and out of the drain buffer
...
This is a more accurate way of knowing which track is playing when, and
also simplifies a lot of fragile logic in audio_fsm
1 year ago
jacqueline
b242ba9986
Improve decoder's interface to accept streams
1 year ago
ailurux
8019c76918
File browser and track browser bug fixes
1 year ago
ailurux
eeb3f2d406
WIP: File browser, needs bug fixes
1 year ago
jacqueline
344a46d066
Respond to sd card mounts and unmounts within lua
...
Includes no longer blocking the main menu on an sd card being inserted!!
1 year ago
jacqueline
9fafd797a5
split c blobs of graphics data into their own component
...
silences some compiler warnings from using c++ flags with c
1 year ago
jacqueline
26eb580043
move driver includes into a subdir as well
1 year ago
jacqueline
7d7f7755d1
start moving include files into subdirs
1 year ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
1 year ago
ailurux
fb3d6a7b86
WIP: Add destructor for FileIterator
1 year ago
jacqueline
a231fd1c8a
Replace cpp::span shim with std::span
1 year ago
ailurux
4aed95a3cd
WIP: Lua filesystem starting point
1 year ago
jacqueline
1736f7874b
Use double-clicks instead of long-presses for wheel shortcuts
1 year ago
jacqueline
b255ea799e
Add lua bindings for override input hooks
1 year ago
jacqueline
920345b940
Support getting a tree of controls + hooks via lua
1 year ago
jacqueline
531475e351
Enable bluetooth after boot, not during boot
...
This avoids some bluetooth-related devices being delivered before
BootComplete
1 year ago
jacqueline
db9e5cce1f
Improve handling of the display
...
- Blank the display when locking to prevent burn-in
- Delay turning the display on until *exactly* after the first lvgl flush
- Init the display in the ui task to avoid blocking the rest of boot
1 year ago
ailurux
dfccf56f34
Add support for 64-bit float wav files
1 year ago
jacqueline
8e113ea9ae
squash a bunch of warnings
1 year ago
Robin Howard
7c075cf5b7
Adds LRA haptic support (open-loop only for now).
1 year ago
Robin Howard
e39754ba10
Fix DRV2065L register usage: we were accidentally setting control2 when we meant control3.
1 year ago
jacqueline
727847017d
Add a button to update the samd's firmware
1 year ago
ailurux
7f630cebdd
daniel/recycler-list ( #66 )
...
@cooljqln should be good to merge to main, give it a look over though please? :)
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/66
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
1 year ago
jacqueline
cc255f6d77
Suspend property bindings when their screens aren't visible
1 year ago
jacqueline
874218e3ff
Fix some bt device issues
...
- Don't allow adjusting volume if there's no device
- Cap bt nvs values correctly
- Persist bt volumes correctly even when the encoded for has a null
byte (facepalm 4 me)
1 year ago
jacqueline
1baaa6dadc
Use more generic 'hooks' for each input device's actions
1 year ago
jacqueline
166e8feb3c
copy audacious' math it looks good
1 year ago
jacqueline
ade0094595
switch to software volume scaling (it's bad tho i need daniel to do maths for me please)
1 year ago
jacqueline
f580928cba
Remember the source of the previous track when opening a new one
1 year ago
jacqueline
d1bf21fcf7
exec a config file on sd
1 year ago
jacqueline
33919e9e3f
Migrate all existing control schemes to the cool new world
1 year ago
jacqueline
ed82063af5
WIP decompose our giant LVGL driver into smaller classes
1 year ago
jacqueline
e5c6ffdb8b
Unmount storage when there's a bad error
1 year ago
jacqueline
f93e3c1c69
fix some struct defaults in low-level drivers
1 year ago
jacqueline
5f1a6507d8
Warn and block MSC disable if the sd card is busy
1 year ago
jacqueline
251c0ba96d
Fix null poiner dereference when turning off i2s output twice
1 year ago
jacqueline
63bc8cf896
Ensure we always clean up after ourselves when invoking bindings
...
this fixes a very nasty lua stack leak
1 year ago
jacqueline
654fde5f68
Support disabling automatic database updates
1 year ago
jacqueline
1e278d55c4
tweak db performance
...
- leveldb cache pinned to spiram
- actually use it during indexing lol
- all up, saves about 10ms per file (amortised) for an incremental reindex
1 year ago
ailurux
25dca40e5d
Fix volume getters/setters for bluetooth
1 year ago
ailurux
a750af35aa
Added bluetooth db impl
1 year ago
ailurux
7c5dae8417
Remove unused variable
1 year ago
ailurux
79b6c3b393
Use luaL_checkstring in set_style
1 year ago
ailurux
f1c8866b81
Check type is actually a table
1 year ago
ailurux
78c708e939
Fix log message
1 year ago
ailurux
10441162c4
Fix for adding multiple styles with the same key
1 year ago
jacqueline
35a822fe60
Use 48kHz SBC instead of 44.1
1 year ago
jacqueline
239e6d8950
bump esp-idf to 5.2.1
1 year ago
jacqueline
dd3346d381
HACK: auto-accept CFM pairing, and increase the connection timeout
...
This gets Tangara connecting to most non-trivial devices, including car
headunits and my laptop. We can add a real UI / better timeout handling
for this later (likely via a new BluetoothState?)
1 year ago