0
0

Hi there,

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 ?

Thanks!
Charles

  • You must to post comments
0
0

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).

  • You must to post comments
0
0

Hi Charlies,

Can you describe what the channel is playing: loaded sample, stream, compressed in-memory sample. If streaming or compressed, what codec, whether contained within FSB or not.

  • You must to post comments
0
0

Hi Charles,

There’s a bug in FMOD. It’s calculating the correct position but not returning the correct return code.

It’ll be fixed 4.40.20, 4.42.10, 4.44.02 builds, but you can work around it by ignoring the return code.

  • You must to post comments
0
0

Thank you for your quick support !

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.