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
ailurux
bf58cb7acf
Minor fixes
1 year ago
jacqueline
4cec85af2d
implement handling of stream/playback ending
1 year ago
jacqueline
078b77d0f7
pass stream start/update/end events through the whole pipeline
1 year ago
jacqueline
175bfc4e3e
WIP rewrie audio pipeline+fsm guts for more reliability
1 year ago
jacqueline
d11eea7e0b
use charge status for staying on, not usb status
...
usb status doesnt seem to be updating properly yet
1 year ago
jacqueline
3dc0989c7f
fix db key prefix format, and use per-file modification times
1 year ago
jacqueline
dadac304dd
Add very basic usb msc ui
1 year ago
jacqueline
684ff50ef4
Add support for screens declaring that they can't be popped
...
Needed as prep for usb msc support; you really shouldn't leave the MSC
settings screen until you've disabled usb msc.
1 year ago
jacqueline
21ae6a9626
comment out dev unit hack
...
the nano code bug has received the hack, so now we don't need it
applying by default anymore
1 year ago
jacqueline
a05d93a1e2
Start using the lock switch polarity bit in nvs
1 year ago
jacqueline
46e6743771
version bump, plus prep for lock switch hack
1 year ago
jacqueline
4cd3c187f9
Add exact display size to nvs, since it can vary
1 year ago
Nano
c423817334
fixes for my green-tab adafruit ST7735R
1 year ago
jacqueline
1ea25ab9d3
Use a simpler method of determining charge status
...
idk why the smarter way of doing it doesn't work reliably, but im sick
of it
1 year ago
jacqueline
2eb3fd53d7
Update the battery status when plugging/unplugging
1 year ago
ailurux
1133d46215
WIP Lua Theming- style classes
1 year ago
ailurux
20c2816a7b
Remove the White Square
1 year ago
ailurux
dc74bc1de9
Add other styles to lua theme
1 year ago
ailurux
312b70f9f6
WIP: Base styles are applied
1 year ago
ailurux
a78614a580
WIP: Getting styles from lua
1 year ago
jacqueline
eba5adeb8c
Show the now playing screen after being locked for a while
1 year ago
jacqueline
ef72b25660
use prototype inheritance for lua screens, rather than functions
...
this gives us a way to give each screen nice little hooks, like
'onShown' and 'onHidden'. later we can use these hooks to disable
bindings for screens that aren't in-use.
1 year ago
jacqueline
1455288190
Restore the previous track position when booting
1 year ago
ailurux
6586819171
WIP Commit- Lua setters for volume, bluetooth todo
1 year ago
jacqueline
b2f0e6d3a4
Clear the drain buffer also when seeking
1 year ago
jacqueline
173b09b015
Clear the drain buffer when skipping between tracks
1 year ago
jacqueline
e7e6c70fb3
Remove unused 'SeekTo' method on codecs
1 year ago
jacqueline
d41f9f7033
Use drflac instead of miniflac
...
This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
1 year ago
jacqueline
77145e56f4
basic working flac and mp3 seeking
...
flac impl is fairly slow as it doesn't use the seek tables; for some
reason miniflac seems to get *really* upset if you seek the stream.
1 year ago
ailurux
5141c9f0bd
Add time.ticks to lua bridge
1 year ago
ailurux
f54347794f
WIP: Flac not working-- coming back to this later
1 year ago
jacqueline
f9aec8b690
split the lua thread registry into its own files
1 year ago
jacqueline
4b2003c78a
Make property bindings shared amongst all lua threads
1 year ago
jacqueline
28651fa7e1
Wait for the sink buffer to drain before stopping playback
1 year ago
jacqueline
29a246a733
Make the drain buffer very large, and move it into PSRAM
...
the i2s handler and streambuffer metadata are both still in iram for
good performance. otherwise, this seems to be enough to make gapless
playback work.
1 year ago
jacqueline
c035ed2b4d
Don't mark the current track as changed when falling off the end of the queue
1 year ago
ailurux
912060de1b
Vorbis seeking impl
1 year ago
ailurux
0baad11b18
WIP: Vorbis seeking
1 year ago
ailurux
aece1c6b58
Opus seeking impl
1 year ago