C# port of stb_vorbis.c
There are two ways of referencing StbVorbisSharp in the project:
-
Through nuget: https://www.nuget.org/packages/StbVorbisSharp/
-
As submodule:
a.
git submodule add https://github.com/StbSharp/StbVorbisSharp.git
b. Now there are two options:
-
Add StbVorbisSharp/src/StbVorbisSharp/StbVorbisSharp.csproj to the solution
-
Include *.cs from StbVorbisSharp/src/StbVorbisSharp directly in the project. In this case, it might make sense to add STBSHARP_INTERNAL build compilation symbol to the project, so StbVorbisSharp classes would become internal.
-
See the sample StbVorbisSharp.MonoGame.Test
Public Domain