Skip to content

MP3: ask the board for its buffered latency - #37

Merged
bdbarnett merged 1 commit into
mainfrom
mp3-buffered
Nov 7, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
mp3-buffered

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

An MP3 player doesn't need an instrument's latency. The MP3 app now opens its output with latency="buffered". A board that sizes its ring from that, like the GIGA R1's DAC (PyDevices/pydevices#433), buffers about 250 ms instead of 93 ms. Boards whose buffered profile is their own default are unchanged. An audio_out that takes no latency is opened as before.

A player doesn't need an instrument's latency, and on a board that sizes its
ring from it (the GIGA's DAC) more buffering rides out stalls of the
interpreter.
@bdbarnett
bdbarnett merged commit 7782349 into main Nov 7, 2026
6 checks passed
@bdbarnett
bdbarnett deleted the mp3-buffered branch November 7, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant