An official Amplitude Audio plugin, offering a Resampler implementation using libsamplerate.
This plugin uses 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-libsamplerate -B/path/to/plugin-libsamplerate/build -G NinjaNote: 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-libsamplerate/build --target allThen, you can install the plugin in the SDK folder with:
$ cmake --build /path/to/plugin-libsamplerate/build --target installYou should use the plugin canonical name (the same name as the CMake project) when loading the plugin through the engine:
// Release builds
Engine::LoadPlugin(AM_OS_STRING("AmplitudeLibsamplerateResamplerPlugin"));
// Debug builds
Engine::LoadPlugin(AM_OS_STRING("AmplitudeLibsamplerateResamplerPlugin_d"));Licensed under the Apache License 2.0.