Why is a process slower inside an audio interrupt/callback compared to a loop?
I’m writing a real-time audio application in C++ that does a beefy amount of processing on 10ms chunks of audio. I’m using miniaudio to handle the audio I/O. When benchmarking the amount of time the processing takes, i.e. recording the numbers from the following inside the callback function: