Post #3511809
2026-06-30 20:21 UTC
@PaulDavisTheFirst@fosstodon.org @samaaron@mastodon.social @mafe@layer8.space @ercanbrack@mastodon.online The hardware and drivers always give you power of 2 buffer sizes because of how ADCs and DACs work internally, that has nothing to do with the os, it also does that on Windows. WASAPI rebuffers on top of the driver to arrive at its weird behavior, I don't know why but it would be interesting to talk to the MS kernel people what their design goals were.
I think the reason why we are at this impasse is that you seem to be focused on the DAW plugin usecase, while I do mostly game engine and audio middleware plugins as well as juce standalone applications, where the buffer size is much more of a driver controlled runtime invariant as opposed to DAWs, where you have to account for sample accurate looping/automation stuff.
What I can tell you is that e.g. Unreal Engine does its own rebuffering to get back to power of 2 buffer sizes on top of what WASAPI does, because the game folk are pretty anal about performance.
Replies (0)
No replies.