0
0

Hello.

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

  • You must to post comments
0
0

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.

  • You must to post comments
0
0

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

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.