I’m trying to implement fmod in C#, and i’m having trouble with a function parameter:
System.init((int maxchannels, INITFLAG flags, [b:2cd3runz][u:2cd3runz]IntPtr extradata[/u:2cd3runz][/b:2cd3runz])
I’ve been trying to find what that argument should be, but im completetly lost… It sais something about platform-specific thing, but I got no clue what it is =/.
Appreciates all help /Dizz
- Dizz123 asked 7 years ago
Depending on the output mode you choose there are additional things that can be passed as that parameter. For now you probably don’t need to worry about it, simply pass (IntPtr)null.
For details about what can be passed in, see the docs chm file (it’s written with C++ / C in mind, but you should get the idea).
Also check out the C sharp examples that come with the API, there should be a wealth of information you can get from them.
Thanks for the reply.
The problem wasn’t in that parameter, I didn’t create the FMOD.System object the way I should have, I simply did System system = new System(); Where instead I should have used Factory.System_Create(ref mySystem); So problem solved
- Dizz123 answered 7 years ago
Please login first to submit.