Elektrine lite

← Feed

@sobek@social.linux.pizza

Post #3511805

2026-06-30 04:23 UTC

@PaulDavisTheFirst@fosstodon.org @samaaron@mastodon.social @mafe@layer8.space @ercanbrack@mastodon.online Windows has a tendency to hand you buffer sizes that aren't a power of 2, the plugin host can't abstract that away for you unless it rebuffers, which would add latency. This might seem inconsequential, but for stuff like the dft and some other dsp algorithms it has performance implications.

Replies (1)

  • @sobek@social.linux.pizza @samaaron@mastodon.social @mafe@layer8.space @ercanbrack@mastodon.online there is no plugin API that requires a power-of-2 buffer size (LV2 has an extension that allows to plugins to say that they require it, but this will cause many LV2 hosts to refuse to load it). Any host can create random buffer sizes for any reason (including, for example, automation). In short, plugins that absolutely require power of 2 buffers need to manage that internally - they cannot rely on the host (on any platform) to do that for them.

    Open ##3511806