FaberSanZ / FmodAudio

C# .NET Core Wrapper for the Fmod audio library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


NuGet Version Join FmodAudio's Discord

Welcome to FmodAudio, a C# Wrapper for the FMOD audio library.

This library has been written for .NET 5 and above.

In order to use this library, you will need to download the FMOD native binaries from https://www.fmod.com/download

If you find a bug, or have a feature request, please file an issue on github, and I'll review it as soon as possible. Alternatively you can now join FmodAudio's Discord server, and talk with me directly. (Link Above)

If you wish to contribute, see CONTRIBUTING.md

How to use FmodAudio

First off, this wrapper allows you to choose a location to look for the native library through the Fmod.SetLibraryLocation() method. Use this if you have a non-standard place you put the library.

Now you have two options for calling into FMOD. The first and recommended way is to use the Object Oriented wrapper Types (FmodSystem, Sound, Channel, etc.) beginning with calling Fmod.CreateSystem().

Alternatively, you have direct access to the binding through the Fmod.Library property for situations where FMOD gives you a OOP handle directly via callbacks. All FMOD API methods are exposed through the class this property returns.

All API methods and structures are documented in https://www.fmod.com/resources/documentation-api?version=2.1&page=core-api.html

Example usage found in the Examples directory of this repository.

ezoic increase your site revenue


C# .NET Core Wrapper for the Fmod audio library

License:MIT License


Language:C# 100.0%