Short of stepping through it in a debugger and watching what function
got called when the FPU control register changed, I can’t really guess.
Does DirectSound change it, too? You might be using that in SDL, even
Also, you can always forcibly change it back in your own app with
something like _controlfp() or an asm block, once you figure out the
point where it’s getting changed.
Great advice, I’ll step through the code with a debugger and see when
the FPU flags get changed.
- Which audio drivers are available for Windows?
- Is the FPU control register something I can change just by reading
it, and’ing or or’ing with a mask and writing back the new value?