Commit Graph
1123 Commits
Author SHA1 Message Date
ailurux aece1c6b58 Opus seeking impl 2024-02-16 16:48:53 +11:00
ailurux c60bb9ee42 Fix issue with seeking whilst paused 2024-02-16 16:19:12 +11:00
jacqueline 5866513c53 Move the list of unexplored files into spiram 2024-02-16 15:13:58 +11:00
ailurux d25e5860c7 Only update scrubber if not currently dragging 2024-02-16 15:10:45 +11:00
ailurux 665679b885 WIP: seeking in lua example 2024-02-16 12:55:11 +11:00
ailurux a49d754da6 Seeking working with hardcoded event, wav only 2024-02-16 10:57:47 +11:00
ailurux 62f6179abe Added offset for track seeking, wav impl. only rn 2024-02-15 16:12:07 +11:00
jacqueline 4509ab8d6e version bump 2024-02-15 09:38:02 +11:00
jacqueline c5917658e6 Cram one of the flac samples buffers into internal ram
Can't quite fit the second... yet. Just one is a pretty reasonable
speedup, though! Probably bc we're not hammering the spiram cache so
hard.
2024-02-14 17:48:13 +11:00
jacqueline 10770e0f54 Use -Ofast for all codecs that don't break with it 2024-02-14 17:47:46 +11:00
jacqueline 4bc77f901b Tweak opus build flags and allocs
This gets us to ~40% of one core cpu usage during playback. Good enough
for a while I reckon!

Paid for the internal ram usage by reclaiming some stack size headroom.
2024-02-14 16:56:49 +11:00
jacqueline f772ab9f20 put the big opus alloc back into spiram
it's not clear to me that it helps *that* much, since the ogg allocs are
in internal ram anyway, and the memory pressure is just a bit much
2024-02-14 13:28:05 +11:00
jacqueline 66f68aac0d version bump 2024-02-14 12:23:26 +11:00
jacqueline 7ec0ff2589 Switch to the lowmem tremor branch
in addition to using slightly less memory, this branch also doesn't seem
to have the same issues with `-O2` builds that the main branch has.
2024-02-14 12:21:33 +11:00
jacqueline b31bc07555 fix (improve?) libtremor strangeness
something fucky
2024-02-13 16:39:56 +11:00
jacqueline 3bb002b6b8 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-13 12:06:14 +11:00
jacqueline 786546653a include repeat, replay, and shuffle in persisted queue info 2024-02-13 12:05:12 +11:00
cooljqln e466522c25 Merge pull request 'scroll-sensitivity' (#36) from scroll-sensitivity into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/36
Reviewed-by: cooljqln <cooljqln@noreply.codeberg.org>
2024-02-13 00:47:53 +00:00
ailurux ffa0894e38 Fixed clamp and write on scroll sensitivity 2024-02-13 11:35:18 +11:00
ailurux bbbe3a3d55 Updated sensitivity nvs store 2024-02-13 10:42:47 +11:00
ailurux 15f3da0f8c Merge branch 'main' into scroll-sensitivity 2024-02-13 10:32:59 +11:00
ailurux 26ae027d67 Sensitivity value now between 0 and 255 2024-02-13 10:31:48 +11:00
jacqueline cb379f4bc3 Cache pending nvs writes in memory
Includes refactoring nvs settings to be a bit less duplicated
2024-02-13 10:12:04 +11:00
ailurux 0426d245c8 Scroll sensitivity configurable, but inverted 2024-02-12 17:44:55 +11:00
jacqueline 79879fbfa0 version bump 2024-02-12 17:17:41 +11:00
jacqueline c5cef16c95 Remove some logging whoopsies 2024-02-12 17:16:38 +11:00
jacqueline 36f4c77fb2 Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-12 17:10:03 +11:00
jacqueline 03c0968168 Let's try avoiding allocs in the bt stacks 2024-02-12 17:09:17 +11:00
jacqueline a37b517356 Improve handing of tracks with missing titles 2024-02-12 17:08:19 +11:00
jacqueline cb0c42060b more i2s/bt drain buffer size tweaks 2024-02-12 17:08:00 +11:00
jacqueline 26df5c4a7f Remember per-device bluetooth volume 2024-02-12 17:07:39 +11:00
ailurux 527374c72e Don't hold lock on notifyChanged 2024-02-12 16:26:37 +11:00
ailurux 9512bd97bb Add buttons for shuffle + repeat track 2024-02-12 15:36:56 +11:00
cooljqln 679521d8e3 Merge pull request 'include <memory_resource> from tasks.hpp' (#34) from hails/tangara-fw:tasks-include-memory-resource into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/34
2024-02-11 23:12:57 +00:00
Robin Howardandcooljqln 7d66572b0f Adds base dropdown-list styles.
Fixes dropdown contents being painted directly on top of anything
sitting below them.
2024-02-11 23:12:33 +00:00
Robin Howard 08c6c5d322 .env: quote vars, remove silly comment 2024-02-10 21:05:32 +11:00
Hailey Somerville aa2402ab56 include memory_resource in tasks.hpp 2024-02-10 18:38:40 +11:00
jacqueline a7ac34eaa9 hack around deadlock during bt disable 2024-02-07 21:38:05 +11:00
jacqueline c1b03c151e put opus' allocations into internal ram
it's a pretty chonky codec, but this seems like the best way to tame its
performance.
2024-02-07 21:38:05 +11:00
jacqueline 18345a1c2c Silence chatty touchwheel log 2024-02-07 15:47:23 +11:00
jacqueline 02b897d536 smol version bump 2024-02-07 12:42:09 +11:00
jacqueline c0be3f863f Deliver AVRC events on a background thread
We don't currently do anything with them, so need to wait for the lock
on the bt thread
2024-02-07 11:17:20 +11:00
jacqueline a67cd1dec6 Ensure the resampler is allocated in internal ram
It's quite small!
2024-02-07 10:25:09 +11:00
jacqueline 1b7821a474 improve the locking strategy of the bluetooth fsm 2024-02-06 21:47:28 +11:00
jacqueline d23435fab7 Retry bt device connections
i hate this janky-ass protocol
2024-02-06 21:27:43 +11:00
jacqueline aff28342d9 let the bluetooth stack handle its own discovery state 2024-02-06 17:56:17 +11:00
jacqueline a75adfc124 version bump 2024-02-06 13:48:16 +11:00
jacqueline 0bb12912bc Implement basic volume control for bt outputs 2024-02-06 13:37:20 +11:00
jacqueline 99c56641e9 fix various of bluetooth issues
connecting and disconnecting is a bit more consistent now!
2024-02-06 13:37:20 +11:00
jacqueline ab314b82e1 fix bt settings button initial state 2024-02-06 13:37:20 +11:00