The official Amplitude Audio plugin that adds encoding/decoding of FLAC files to your project.
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
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"));
Licensed under the Apache License 2.0.