0
0

I use system->createCodec() register my codec , and open a ‘exists’ file , It can work.
but, actually the code read data from memory.
Can I not specify a real exists file ?

Sorry, I’m poor in english 😳

  • You must to post comments
0
0

Maybe you should look at

FMOD_FILE_READCALLBACK      fileread;      /* [out] This will return a callable FMOD file function to use from codec. */
FMOD_FILE_SEEKCALLBACK      fileseek;      /* [out] This will return a callable FMOD file function to use from codec.  */

to allow your codec to call fmod’s internal file routines. This will handle if it is from memory or file or even from the internet

  • You must to post comments
0
0

Thank you very much! , resolved!

a new question:

after use system->setFileSystem,
all FMOD::System instance whill use the user specify callback functions ? :(

  • You must to post comments
0
0

yes if you override the filesystem, then a codec read call will call your functions.

  • You must to post comments
0
0

Thanks brett, I know it is.
FMOD::System::setFileSystem() is a global function.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.