Daniel Ludwigcode_disaster@mastodon.gamedev.place
Oct 3, 2026, 11:00 PMComputers are weird.
I wrote some experimental code with SDL_mixer and switching playback/recording devices at runtime. To hear if it's working, I loop the recording back into a mixer output track.
If I launch the sample with my default mic, which is a headset, I get a noticeable delay, like over 1 second, before I hear myself talking.
If I switch devices, even if I switch back to the same mic, that delay is gone. Poof!