jacqueline
8f4e1ece75
Some minor cleanup, docs, assertions
10 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.
10 months ago
ailurux
e6c77f17b8
Switch output mode to headphones when plugged in
10 months ago
ailurux
978429109e
Fix queue serialisation so that the position is correctly applied
10 months ago
ailurux
5ab4c2f0d6
Update position when updating the shuffler
11 months ago
ailurux
022aa38396
Fix for position persisting when queue reset
11 months ago
jacqueline
326cc42a63
Don't spuriously report that the current track has changed
...
Fixes the last track in the queue repeating forever
11 months ago
jacqueline
28cf749951
Make FileGatherer shaped more like a normal iterator
11 months ago
jacqueline
2811a3c899
Don't try to serialise a missing playlist name
11 months ago
jacqueline
649cb74f03
Advance the queue when the current track fails to start
11 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>
11 months ago
ailurux
6f98eaf85e
Fix off by one error
12 months ago
ailurux
496baefe66
Oops, forgot a return statement
12 months ago
ailurux
514540d89c
Queue now keeps file offsets in memory to speed up search
12 months ago
ailurux
bc2527135a
Fix std::optional access
12 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>
12 months ago
jacqueline
a3eb2dd9dc
WIP improve bluetooth api and settings screen
12 months ago
jacqueline
a9d2335e1d
Break FatfsStreamFactory's dep on ServiceLocator
12 months ago
jacqueline
00b1ba58f0
Improve DAC power+mute management to reduce clicks and pops
1 year 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>
1 year ago
jacqueline
72344b5777
no more acquire_spi :)
1 year ago
jacqueline
f84474d94d
Introduce a PcmBuffer abstraction for handling source draining
1 year ago
jacqueline
0da7ead0a8
Simply some I2SDac management to avoid null pointer accesses
...
Fixes #72 ; we were destroying the I2SDac instance, but weren't actually
recording that the output was now in the 'off' state.
1 year ago
jacqueline
fb6b0ed49c
Fix counting empty stream cues as the current stream
1 year ago
jacqueline
51bbb6a495
Add a stream source that generates a sine wave
1 year ago
jacqueline
690c64c151
Fix playback after restoring queue on boot
1 year ago
jacqueline
265049c519
Count samples going in and out of the drain buffer
...
This is a more accurate way of knowing which track is playing when, and
also simplifies a lot of fragile logic in audio_fsm
1 year ago
jacqueline
b242ba9986
Improve decoder's interface to accept streams
1 year ago
jacqueline
344a46d066
Respond to sd card mounts and unmounts within lua
...
Includes no longer blocking the main menu on an sd card being inserted!!
1 year ago
jacqueline
26eb580043
move driver includes into a subdir as well
1 year ago
jacqueline
7d7f7755d1
start moving include files into subdirs
1 year ago
jacqueline
1573a8c4cd
WIP merge cyclically dependent components into one big component
1 year ago