ailurux
98cc3edb01
Add luals-stub for queue open_playlist
8 months ago
ailurux
40e08f4823
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
8 months ago
ailurux
5ab4c2f0d6
Update position when updating the shuffler
8 months ago
jacqueline
493f8e1200
Don't break early from clearing PcmBuffer
8 months ago
jacqueline
9c56261122
Delay DB reindexing slightly
...
This helps with boot time by preventing a ton of
disk I/O before the UI has had a chance to load.
8 months ago
jacqueline
d94c32d615
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
8 months ago
jacqueline
40c754a72a
Always initialise bytes_cleared when clearing PcmBuffers
8 months ago
ailurux
022aa38396
Fix for position persisting when queue reset
8 months ago
jacqueline
326cc42a63
Don't spuriously report that the current track has changed
...
Fixes the last track in the queue repeating forever
8 months ago
jacqueline
ff7468635f
Remove/Migrated some old sdkconfig flags
8 months ago
jacqueline
6a2d259f46
Move off of deprecated APIs
8 months ago
jacqueline
822c9dc93e
Fix build errors from stricter visibility requirements
8 months ago
jacqueline
5a02f34ed9
Update bt fork to be based on v5.3
8 months ago
jacqueline
be9725c1c7
bump esp-idf to v5.3
8 months ago
jacqueline
9e1fc64c88
Accept a specific tag in `loglevel`
8 months ago
jacqueline
4fd15f148a
Bump up the ui task stack size
8 months ago
jacqueline
2ad83cb210
Shard searching for new tracks across multiple tasks
...
This also has the effect of breaking up the enormous 'updateIndexes'
method into one call per file, which means database updates also no
longer monopolise a single background task for their entire duration.
avg. time per new file is now <140ms for a completely fresh database,
which is pretty good i think!
8 months ago
jacqueline
28cf749951
Make FileGatherer shaped more like a normal iterator
8 months ago
jacqueline
30aaefca64
Batch up the db operations associated with adding new tracks
...
This is ostensibly yet another 'prepare for multithreaded updates'
commit, however it does actually save us another 60(!!) odd milliseconds
per track.
8 months ago
jacqueline
b5dc53670a
Derive the next track id from stored track data, instead of tracking it explicitly
...
This saves about 1ms per new track right now, but more importantly means
that minting a new track id is now a single atomic operation, rather
than being its own database write. This is a useful property that will
come in handy in a few commits time.
8 months ago
jacqueline
f8a3c16aad
Use one MMU page per leveldb write buffer
...
Also drop some of the other tuning changes, since they don't seem to
impact much.
8 months ago
ailurux
d719f9c501
daniel/theme-setting ( #87 )
...
- Themes can be loaded from disk and built-in
- Themes can be selected in a new themes menu of the settings screen
- Some touch-ups to existing themes
- The saved theme is persisted in nvs
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/87
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
8 months ago
jacqueline
3d7b005dc9
Experiment with putting BT stack allocs in internal ram
9 months ago
jacqueline
5d390c821a
Claw back some internal ram
...
- 'main' doesn't need 12k of internal ram
- lvgl's draw task doesn't need that much either
- also lower the bg worker stack sizes whilst we're here, since they've got tons over headroom
9 months ago
jacqueline
2811a3c899
Don't try to serialise a missing playlist name
9 months ago
jacqueline
1ff28233bd
Recalibrate the touchwheel after unlocking
...
Also power it down whilst we're locked. This saves about half a
milliamp.
9 months ago
jacqueline
649cb74f03
Advance the queue when the current track fails to start
9 months ago
jacqueline
2a280c9b4b
Start playback immediately when selecting a playlist
9 months ago
ailurux
b349599174
daniel/playlist-queue ( #84 )
...
Support for playlist files being opened along side the queue's own playlist. Playlists can be opened from the file browser, if the file ends in ".playlist" (will add support for .m3u as well eventually)
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/84
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
9 months ago
jacqueline
64c8496a91
Use a piecewise linear formula to calculate battery %
9 months ago
jacqueline
4210a8ac54
add some helpful hex dump overloads
9 months ago
jacqueline
be9564d1c7
Parse single-byte track ids properly
9 months ago
jacqueline
2afad172bd
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
9 months ago
jacqueline
0cc7536684
Add a settings screen with power+battery info
...
Mostly for debugging, but also u can toggle fast charging off and on now
9 months ago
jacqueline
eb5d0d50cd
Bump up LVGL's memory allotment
9 months ago
ailurux
8597590732
Increase bluetooth stack size
9 months ago
ailurux
a440d71bef
Continue decoding even if OV_HOLE is returned
9 months ago
ailurux
6f98eaf85e
Fix off by one error
9 months ago
ailurux
496baefe66
Oops, forgot a return statement
9 months ago
ailurux
514540d89c
Queue now keeps file offsets in memory to speed up search
9 months ago
jacqueline
69cd284757
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
9 months ago
jacqueline
90a0caf286
version bump
9 months ago
jacqueline
f00e1d7493
Fix track ids containing '\n' not decoding properly
...
This has been the cause of the elusive "selecting a track opens it like an index" bug :)
9 months ago
jacqueline
9475d10d10
WIP initial tts player wiring
9 months ago
Robin Howard
d8bdb3434d
Adds sdkconfig.local (intentionally not tracked in .git) for local overrides.
...
Here's what I have in mine, for example:
```
CONFIG_LOG_DEFAULT_LEVEL_WARN=n
CONFIG_LOG_DEFAULT_LEVEL_INFO=y
CONFIG_LOG_DEFAULT_LEVEL=3
```
9 months ago
jacqueline
ac54cab319
Add Hangul characters to the bundled font
9 months ago
jacqueline
2ab459598c
Encode snapshots as PNGs when saving to disk
9 months ago
jacqueline
7012e64a14
Fix an error in the scroll sensitivity UI
9 months ago
jacqueline
a3f48074fb
Add a console command to dump a snapshot
9 months ago
jacqueline
d8ce31e46b
Scroll to top when selecting the back button
9 months ago