Commit Graph
1005 Commits
Author SHA1 Message Date
ailurux 312b70f9f6 WIP: Base styles are applied 2024-03-07 14:20:06 +11:00
ailurux a78614a580 WIP: Getting styles from lua 2024-03-07 12:12:32 +11:00
ailurux 490b067b76 Add luavgl_to_style method 2024-03-07 12:11:20 +11:00
jacqueline beb1f65495 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2024-03-07 11:23:31 +11:00
jacqueline eba5adeb8c Show the now playing screen after being locked for a while 2024-03-07 11:16:56 +11:00
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.
2024-03-07 10:59:03 +11:00
jacqueline 1455288190 Restore the previous track position when booting 2024-03-06 13:59:33 +11:00
ailurux 6586819171 WIP Commit- Lua setters for volume, bluetooth todo 2024-03-01 19:08:54 +11:00
jacqueline 53c4ea7805 version bump 2024-02-29 16:30:48 +11:00
jacqueline b2f0e6d3a4 Clear the drain buffer also when seeking 2024-02-29 16:30:17 +11:00
ailurux aa87c13799 Merge pull request 'Add seeking support for all codecs' (#50) from seek-support into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/50
Reviewed-by: ailurux <ailurux@noreply.codeberg.org>
2024-02-29 05:23:33 +00:00
jacqueline 173b09b015 Clear the drain buffer when skipping between tracks 2024-02-29 15:47:21 +11:00
jacqueline e7e6c70fb3 Remove unused 'SeekTo' method on codecs 2024-02-29 12:23:49 +11:00
jacqueline 7d3ddac0ea Merge branch 'main' into seek-support 2024-02-29 12:10:44 +11:00
jacqueline d41f9f7033 Use drflac instead of miniflac
This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
2024-02-29 12:08:12 +11:00
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.
2024-02-28 21:21:23 +11:00
cooljqln 9fca08f843 Merge pull request 'Add time.ticks to lua bridge' (#48) from lua-ticks into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/48
2024-02-28 00:18:16 +00:00
ailurux 5141c9f0bd Add time.ticks to lua bridge 2024-02-27 17:28:55 +11:00
jacqueline 26fc53b18b fix bad copypaste in docs 2024-02-27 13:25:49 +11:00
ailurux f54347794f WIP: Flac not working-- coming back to this later 2024-02-22 14:37:14 +11:00
jacqueline f9aec8b690 split the lua thread registry into its own files 2024-02-22 14:16:33 +11:00
jacqueline 4b2003c78a Make property bindings shared amongst all lua threads 2024-02-22 12:37:01 +11:00
jacqueline 2a25085503 version bump 2024-02-21 14:17:25 +11:00
jacqueline 28651fa7e1 Wait for the sink buffer to drain before stopping playback 2024-02-21 14:13:19 +11:00
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.
2024-02-21 14:12:23 +11:00
jacqueline 79be8a8e6e Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw 2024-02-20 11:56:24 +11:00
jacqueline 403bd4672c Update to latest libtags
Mostly for wav fixes
2024-02-20 09:29:58 +11:00
jacqueline 3f6256f9e6 Merge branch 'main' of git.sr.ht:~jacqueline/tangara-fw 2024-02-19 09:41:47 +11:00
jacqueline c035ed2b4d Don't mark the current track as changed when falling off the end of the queue 2024-02-19 09:35:19 +11:00
ailurux 912060de1b Vorbis seeking impl 2024-02-16 17:08:45 +11:00
ailurux 19f60e33c4 Merge branch 'main' into seek-support 2024-02-16 17:02:54 +11:00
ailurux 0baad11b18 WIP: Vorbis seeking 2024-02-16 17:01:22 +11:00
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