[quote="brett":7doxtc0g]Actually why do you need to convert it when you could simply use FMOD_TIMEUNIT_MS?[/quote:7doxtc0g]
To use with soud::readData in the example offlinedecode.
When the loop comes back me zero I mark the position in I transform in time.
Another form exists to obtain that time in sound::readData?
- lindomar answered 12 years ago
please read the documentation it has it all listed for you.
from the terminology / basic concepts section
ms = samples * 1000 / samplerate.
samples = ms * samplerate / 1000.
samplerate = samples * 1000 / ms.
bytes = samples * bits * channels / 8.
samples = bytes * 8 / bits / channels.
Please login first to submit.