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