fmod->Mix(1.0f / 60.0f);
int sampleCount;
unsigned short* samples = fmod->getSampleBuffer(&sampleCount);
writeSamplesToAvi(sample, sampleCount);
FMOD: Non real time grabbing.
Hi all,
I'm making a tool that renders to .avi files, it generates around 1 fps.
The .avi I produce is at 60 fps.
Now I've added sound via fmod and when I render without saving to the .avi, everything works fine (running in real time around 5 fps).
How can I setup fmod so that it mixes at command (non real time) to a buffer that I can grab, i.e something like:
Anyone done something similar and can point me in the right direction?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement