Simple Audio Conversion from Scratch

August 19, 2025  •  Jonathan Marler

I’m currently using miniaudio for converting between audio formats, however, it’s allocating dynamic memory for the converter and I’d like to understand why. To do so, let’s first implement the simplest conversion we can think of that doesn’t use any dynamic memory.

The Zig Comptime Time Machine