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
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
jacqueline
2ab459598c
Encode snapshots as PNGs when saving to disk
9 months ago
jacqueline
a3f48074fb
Add a console command to dump a snapshot
9 months ago
ailurux
bc2527135a
Fix std::optional access
9 months ago
ailurux
0a271d786b
daniel/playlist-queue ( #83 )
...
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/83
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
9 months ago
jacqueline
f78de39a75
Give Bluetooth settings a bit of a refresh
...
It's now a bit more responsive to stuff happening, gives you more information, and remembers your previously paired devices for faster switching between them.
9 months ago
jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
10 months ago
jacqueline
a9d2335e1d
Break FatfsStreamFactory's dep on ServiceLocator
10 months ago
jacqueline
b63e897268
Move the SPI interrupt alloc to the second core
...
We're a bit close to the line on core0 allocs, so this helps balance things out a bit.
10 months ago
jacqueline
11bddb1b1d
add a console command for dumping intr allocations
10 months ago
jacqueline
53798f4a61
Move audio decoder priorities below bluetooth
...
The previous priority was leading to a nasty consistent stutter, as reading samples from the drain suffer would lead to the decoder immediately unblocking and preempting the SBC encoding.
10 months ago
jacqueline
370d1853b5
Break FatfsStreamFactory's dep on ServiceLocator
10 months ago
jacqueline
41e0605f17
Give PcmBuffer pairs a name, and wire them up in the audio stack
10 months ago
jacqueline
f42448d501
WIP start on accepting two streams in out audio output
10 months ago
jacqueline
1b7fb84220
Tweak app console setup to improve companion connections
...
- disable regular log output when entering the console
- disable colour changes for the prompt character
10 months ago
jacqueline
88ac96242f
Load fonts asynchronously on a bg task
...
This saves a second or two from bootup; AFAICT this *mostly* reclaims
the dynamic fonts boot time regression.
10 months ago
jacqueline
984b874d7e
Fix some issues with the splash screen
...
- fix a use-after-free involving the alerts container that was
happening when showing the first screen
- fix some issues where the splash screen wouldn't come up as early as
it needs to when another bootup task was making heavy use of the spi
bus
10 months ago
jacqueline
9204b585ae
show a message if the sd card is unmounted
10 months ago
jacqueline
6fe08ba73d
reapply bindings when showing screens
10 months ago
jacqueline
8695b04a83
Try to print userdata name when dumping lua stack
10 months ago
jacqueline
688fe79471
require a key press before entering the dev console
...
this improves our ability to detect terminals that support line editing
10 months ago
jacqueline
1daa1e9b0f
update catch2 to v3.6.0
10 months ago
jacqueline
bfee3742d3
skip the storage test if there's no sd card
10 months ago
jacqueline
525ed2ae1b
Add a basic overview of writing and running tests
10 months ago
jacqueline
8db57d6dc5
Unbreak the tests build
10 months ago
jacqueline
d75927ff92
Use a curve to estimate battery %
...
This is a bit more accurate than our previous linear relationship,
particularly at lower voltages.
10 months ago
jacqueline
00b1ba58f0
Improve DAC power+mute management to reduce clicks and pops
10 months ago
jacqueline
7f2d56e29a
Load fonts dynamically from /lua
...
This unfortunately slows boot time by a bit, but I think we should be able to reclaim that time eventually.
10 months ago
jacqueline
194f0e6b59
Scroll to 'top/bottom' by only 10 at a time
...
Prevents a nasty device lockup when scrolling infinite lists
10 months ago
jacqueline
82ec765d2d
Fix splash screen background
10 months ago
jacqueline
e58dcf6dc5
WIP fix issues introduced by lvgl version bump
10 months ago
ailurux
7c107e739a
Add basic bluetooth queue controls
11 months ago
ailurux
8de07fe8fa
daniel/bluetooth-avrc ( #80 )
...
Have a squizzy and lemme know if any issues @cooljqln 🐝
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/80
Co-authored-by: ailurux <ailuruxx@gmail.com>
Co-committed-by: ailurux <ailuruxx@gmail.com>
11 months ago
jacqueline
1242a199e3
log db update time-per-track
11 months ago
jacqueline
72344b5777
no more acquire_spi :)
11 months ago
jacqueline
39460931d8
Remove spi locking hack + increase max sd frequency
...
These two changes (mostly the former) dramatically increase
responsiveness when doing database updates; previously we were suffering
from some nasty priority inversion.
afaict the underlying need to acquire_spi seems to be fixed? i.e. spi
bus acquisition is working properly. fingers heavily heavily crossed.
11 months ago
jacqueline
9457f9021a
u didnt see shit
11 months ago
jacqueline
4afe9d9b5c
move a bunch of bt callbacks to background tasks
...
we should avoid doing bt state machine stuff from these callbacks, since
espressif calls us whilst holding a lock. ideally we should move all of
them to background threads, but we need to do a deep copy to safely move
a few of them
11 months ago
jacqueline
661cc976a1
Remove now redudantant 'Iterator.next()' care in TrackIterator
...
With Daniel's fix, this is no longer needed! Hooray!
11 months ago
jacqueline
f84474d94d
Introduce a PcmBuffer abstraction for handling source draining
11 months ago
ailurux
9dbcd6a5c8
Fix prev/next behaviour on database iterator
...
Fixes issue with apparent duplicated tracks in the infinite list
11 months ago
jacqueline
2ff8eac022
Start on TTS support by logging the data that will become TTS lines
...
Includes some misc cleanup of haptic double-triggering (or
non-triggering), since those cases all end up being TTS event
double-reporting, which to me crosses the threshold from "annoying" to
"usability issue"
11 months ago
ailurux
ef812a53e5
Minor formatting fix
11 months ago
ailurux
9d67ddcf6e
Fix issue where failing to connect bt device initially won't retry
11 months ago
jacqueline
c846146c2f
Lowercase BT device name for better auto-reading
11 months ago