When I call the [b:vp9heqnq]channel->getPosition[/b:vp9heqnq] method with FMOD_TIMEUNIT_RAWBYTES argument, I get the following error code : [b:vp9heqnq]FMOD_ERR_UNSUPPORTED[/b:vp9heqnq]
However the returned position seem to be correct.
Can somebody confirm that I just should ignore the returned error ?
- CharlesB asked 5 years ago
I play a stream in the channel, this stream is loaded with this options : FMOD_IGNORETAGS | FMOD_NONBLOCKING (and so FMOD_CREATESTREAM).
FMOD is initialized with custom file system async methods which just read a file on the hard drive.
Stream buffer size is set to (64 * 1024) bytes, and decode buffer size is set to 400 ms.
I didn’t mention that calling [b:11y5by17]channel->getPosition()[/b:11y5by17] with FMOD_TIMEUNIT_MS option returns FMOD_OK, and calling [b:11y5by17]sound->getLength()[/b:11y5by17] with FMOD_TIMEUNIT_RAWBYTES (or FMOD_TIMEUNIT_MS) work as well.
Please tell me if you need other information (I’m running on Windows).
Please login first to submit.