Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

nsglover/OpenAL.NETCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAL.NETCore

OpenAL.NETCore is a set of cross-platform C# bindings for OpenAL 1.1 targeting .NET Core.

Certain functions listed in the OpenAL specification have been omitted because they have no actual use in the API. For example, for the "alBuffer3i(int, int, int, int)" function, there is no possible value for the first parameter that will not cause the function to throw the AL_INVALID_ENUM error.

This project was inspired by OpenTK, particularly the OpenTK.Audio namespace.

Installation

A NuGet package is on its way. For now, please install OpenAL.NETCore manually.

To install manually, clone this repository, build the assembly, and reference the resulting .dll from your project. Additionally, certain operating systems may require you to install OpenAL itself. See below.

macOS

No additional installation is necessary since the OpenAL framework is packaged with the OS. If you get an error along the lines of "DllNotFoundException: "'/System/Library/Frameworks/OpenAL.framework/OpenAL' could not be found.", then you may be having some other problems with your system.

Linux

Run the following in a terminal:

git clone git://repo.or.cz/openal-soft.git
cd openal-soft
cd build
cmake ..
make
sudo make install

Make sure libopenal.so.1 is in a familiar location (where your package manager typically puts things) and OpenAL.NETCore should find it. If it doesn't, try moving the file to the same directory as your project's executable.

Windows

Please install OpenAL if you do not already have it on your system. It should install a binary named "openal32.dll", which OpenAL.NETCore should find on its own. If not, try moving the .dll to the same directory as your project's executable.

About

OpenAL.NETCore is a set of cross-platform C# bindings for OpenAL 1.1 targeting .NET Core.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages