# FMOD: Non real time grabbing.

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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:
fmod->Mix(1.0f / 60.0f);
int sampleCount;
unsigned short* samples = fmod->getSampleBuffer(&sampleCount);
writeSamplesToAvi(sample, sampleCount);


Anyone done something similar and can point me in the right direction?