I’m interested in using fmod in my current project. The problem is that I am only familliar with c++ oop and have never learned c. So I don’t know about callback routines and stuff like that.
Did anyone allready write some c++ wrapper classes for the fmod api so that I can use it in visual c++ mfc applications?
- rambinator asked 13 years ago
Ok, I understand. I allready thought that this would be possible, but I have to learn some c first I think. I just had a c++ course at university which was straight object oriented and the instructor said “don’t learn c first, cause it will be harder to understand oop afterwards”. So I thought it would be gread to have a class wrapper so that I could just add a member object (fmod-soundsystem or something like that) to my app class-object. I will try to wrapp the fmod-funktions I need in a class. Before I came to this site I tried the g-audio sdk, which works the way like I described. But it is somehow limited regarding direct manipulation of the streams (I want to implement a crossfade function) and it doesn’t have a support forum, so I wasn’t able to solve some serious runtime errors I encountered. So I think I will try if I can do what I want with fmod, it seems to be a great sdk….
[quote="brett":25mz60cm]We have a C++ interface for fmod ex, it will be public next week some time.
Otherwise you are probably already calling C functions somewhere in your code, not everything in c++ is an object. :)[/quote:25mz60cm]
Can’t wait to see what you’ve come up with for EX!
I’ve written two different sound system wrappers that make use of FMOD, and while I agree that sometimes using the straight C calls is nice, I’m also a big fan of having a layer of sound-management, which requires some sort of wrapper. Wrapping the calls directly would be annoying/icky, but it’s nice if you want to have clean-up and other things handled more directly.
FMOD rules! Can’t wait to see this new incarnation.
Please login first to submit.