Skip to content

Official plugin to perform OGG/Vorbis encoding and decoding in Amplitude Audio.

License

Notifications You must be signed in to change notification settings

AmplitudeAudio/plugin-vorbis

Repository files navigation

plugin-vorbis

The official Amplitude Audio plugin that adds encoding/decoding of OGG/Vorbis files to your project.

How to build

This plugin used CMake and vcpkg. You may need to install them first before to build.

Configure the CMake project by giving the path to your Amplitude Audio SDK installation:

$ cmake -DCMAKE_TOOLCHAIN_FILE:STRING=/path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DAM_SDK_PATH:STRING=/path/to/sdk --no-warn-unused-cli -S/path/to/plugin-vorbis -B/path/to/plugin-vorbis/build -G Ninja

Note: We recommend to use Ninja as the generator, but you can use the one you wish.

Once configured, you can build the project using:

$ cmake --build /path/to/plugin-vorbis/build --target all

Then, you can install the plugin in the SDK folder with:

$ cmake --build /path/to/plugin-vorbis/build --target install

How to use

The plugin identifier is AmplitudeVorbisCodecPlugin, you will just have to use that name when loading the plugin through the engine:

// Release builds
Engine::LoadPlugin(AM_OS_STRING("AmplitudeVorbisCodecPlugin"));

// Debug builds
Engine::LoadPlugin(AM_OS_STRING("AmplitudeVorbisCodecPlugin_d"));

License

Licensed under the Apache License 2.0.

About

Official plugin to perform OGG/Vorbis encoding and decoding in Amplitude Audio.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published