I checked my project settings and I have all optimizations turned on. When I run the Release build of my audio application from the MSVC debugger, I get CPU spikes during playback and things generally run poorly.
If I run the .exe directly from Explorer, it is smooth sailing, almost no CPU usage whatsoever (I’m using the CPU meter built into the audio device class).
I already set _NO_DEBUG_HEAP=1 for the environment of the Release build.
Any ideas? This is a little bit frustrating…