I’m working on a Musepack plugin, and I need a FILE* in the FMOD_FILE_OPENCALLBACK routine.
Now I’m using the userexinfo->userdata to get the opened filename, passed from the main application.
Is there a better way to do this, like retrieving the FILE* from the codec->filehandler?
userexinfo is an FMOD_CREATESOUNDEXINFO, codec is an FMOD_CODEC_STATE.
- alenofx asked 11 years ago
- You must login to post comments