I was wondering if there is a more C oriented help file for FMOD Ex. The current documentation is very well done, but it is very C++ oriented. For example:
void * extradriverdata
which requires code like:
FMOD_System_Init(system, 32, FMOD_INIT_NORMAL, NULL);
Which requires 4 items be passed instead of 3 which you might assume because of the definition. (I’m not sure why you have to pass System or why the compiler doesn’t complain that 4 items have been passed instead of 3, but it works.)
So…Is there older documentation floating around out there that is available? I’ve seen some C help stuff that make reference to FMUSIC definitions, but I haven’t seen anything like that in FMOD Ex so I assume that that is the 3.xx versions.
Perhaps there is a more "C"ish help file that I can get? I could try switching to C++, but my brain doesn’t work well with objects…It’s something I’m working on. 😳
- Corvus asked 10 years ago
Well, I don’t know anything about C or C++, but I think I know this :
[quote:lhog1d1a]I’m not sure why you have to pass System or why the compiler doesn’t complain that 4 items have been passed instead of 3, but it works.[/quote:lhog1d1a]
Well, since you can’t call system.init, you have to pass the system to the function.
- errorist answered 10 years ago
it’s not that hard to convert so the docs are adequate…
c++ vs c
Object vs FMOD_OBJECT
Object::Function(arguments) vs FMOD_Object_Function(object,arguments);
Object o = new Object(arguments) ==
- icuurd12b42 answered 10 years ago
That’s what I was going to say, but looking at the docs it wouldnt be hard for us to update our script to say
Event ** event
FMOD_EVENT ** event
I’m not sure if we’ll have time to detour onto something like this but we’ll see if we can do it.
Please login first to submit.