Hi the Fmod team,
Do you plan to release an official (supported) C++/CLI wrapper with higer levels objets (a MediaPlayer class with methods like Open, Play, Pause, Stop, …) for exposing the great Fmod features to .NET world?
That would simplify the use of Fmod in all .NET project, by hiding all hugly interop code and native code logic. A closed source library would be OK.
We could even imagine a single mixed-mode assembly containing all the necessary runtime components and dependencies for using FMod, like SQLite.
- Cyber Sinh asked 5 years ago
There is a C#.net wrapper which allows you complete access to the entire FMOD API, you can find it in the ‘csharp’ directory. The FMOD API contains methods like open (System.createSound), play (System.playSound), pause (Channel.pause), stop (Channel.stop).
I know I can use the C# wrapper to use Fmod. But It’s not very user friendly, it’s only a wrapper that only exposes low level C function and I have to use System, Sound, Channel,… to simply play a file.
I would like to have a .NET "reference & play" assembly which allows me that:
var mp = new Fmod.MediaPlayer();
A single C++/CLI mixed assembly would simplify deployment also.
- Cyber Sinh answered 5 years ago
We do not provide alternate convenience APIs layered on top of our standard API. It is not uncommon for users to wrap the parts of the FMOD API they want to use in their own ‘SoundManager’ class, that would probably be the way to go. To do what you want it would only take a few function calls which you could easily wrap in a single funciton if you want.
Please login first to submit.