jacqueline
af7a70450e
Support adding filepaths to the track queue
8 months ago
jacqueline
9145722b08
Don't show n+1/n when we run out of queue
8 months ago
jacqueline
71aafc1711
Fix random.cpp not being built
8 months ago
jacqueline
32869129ff
clang-format
8 months ago
jacqueline
9ec8d6dafc
Handle the loading state whilst appending many tracks better
...
1) Update the queue length periodically so that the user can see we're
working
2) Clear any previous track and display "loading..." instead
8 months ago
jacqueline
d3c15bf070
spello
8 months ago
jacqueline
8f4e1ece75
Some minor cleanup, docs, assertions
8 months ago
jacqueline
f253d2ee75
Timeout when writing output samples throughout the audio pipeline
...
This allows the audio pipeline to remain responsive even when the drain
buffer has completely filled. This in turn means that you now see the
track info in the 'now playing' screen change if the current track
changes whilst you are paused.
Since I was fucking around a lot in the audio processor anyway, I also
added mono->stereo expansion so that playing mono tracks on Bluetooth no
longer destroys your ears.
8 months ago
jacqueline
ef227f8c51
Move the UI task main loop info iram
8 months ago
jacqueline
b1c90278ae
Delete unused half readme
8 months ago
ailurux
88e44694f0
Merge pull request 'Switch output mode to headphones when plugged in' ( #90 ) from daniel/output_mode_switch into main
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/90
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
8 months ago
ailurux
e0b057b3fa
Various UI tweaks and improvements
8 months ago
ailurux
a09b3f24fe
Update battery icon to be a bit smaller
8 months ago
ailurux
e6c77f17b8
Switch output mode to headphones when plugged in
8 months ago
jacqueline
91f26afa75
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
8 months ago
jacqueline
275ade5d13
Move some hot driver functions into iram
...
We've got the space for it now!
Also turn SW radio coexistence off whilst we're here; the docs recommend this if you only use Bluetooth(R)
8 months ago
ailurux
e1b2149210
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
8 months ago
ailurux
978429109e
Fix queue serialisation so that the position is correctly applied
8 months ago
jacqueline
360cc5342e
it's free iram
8 months ago
jacqueline
ad5760b5ab
version bump
8 months ago
ailurux
0f9005626d
Redesigned many icons, added styles for battery icon recolouring based on percentage
8 months ago
ailurux
9cdb268b2b
Updated a few icons
8 months ago
jacqueline
3ed3f1dfeb
Add cool skeumorphic embossing
8 months ago
ailurux
f203bfde60
Add border to switch widget
8 months ago
ailurux
0662bb037b
Some UI/themes tweaks
8 months ago
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