Skip to content

Official plugin to encode and decode FLAC files in Amplitude Audio.

License

Notifications You must be signed in to change notification settings

AmplitudeAudio/plugin-flac

Repository files navigation

plugin-flac

The official Amplitude Audio plugin that adds encoding/decoding of FLAC 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-flac -B/path/to/plugin-flac/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-flac/build --target all

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

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

How to use

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

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

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

License

Licensed under the Apache License 2.0.

About

Official plugin to encode and decode FLAC files in Amplitude Audio.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published