I’m having trouble recording with FMOD in VC++’s Release mode. In Release mode “Optimizations” in the “C/C++” tab for “Project settings” has the default setting “Maximize speed” but if this is enabled lenbuf1 in FSOUND_Sample_Lock is always set to 0 when called. It works fine if optimizations is set to Default.
Is this by choice or a bug?
- bear101 asked 16 years ago
Yeah, that’s just user error, I’m suprised it worked either way if that was the case.
Oh and “BYTE *buf1, *buf2;” should work, and it’s shorter, just for future refrence (little things like that are good to know, I figure). Basically what was happening originally (it apears to me at least) is that the first variable (buf1) was being declared as a pointer, while the second variable (buf2) wasn’t. I think, anyway.
Please login first to submit.