@PaulDavisTheFirst@fosstodon.org
Post #3511806
2026-06-30 12:38 UTC
Replies (1)
-
@sobek@social.linux.pizza 2026-06-30 14:05
@PaulDavisTheFirst@fosstodon.org @samaaron@mastodon.social @mafe@layer8.space @ercanbrack@mastodon.online In offline applications like DAWs, yes. In online applications outside of Windows audio it is *rare* to come accross a buffer that is not a power of 2 size. There the buffer size is dictated by the audio device driver and for all devices I have come across so far, the drivers let you set buffer sizes in powers of two (for good reasons). Windows doesn't care however and sometimes rebuffers regardless of what the audio device does. E.g. pipewire will only change buffer size (they call it quantum IIRC) if explicitly required by an application. Windows just does as it pleases. As you stated, it is not smart to make power of 2 buffer sizes a hard requirement for robustness, however for some codepaths, it is immensely beneficial for runtime performance.