- Created a new SIMD interface header and source files for audio processing functions. - Implemented functions for filling buffers, mixing audio, applying gain, calculating RMS and peak values, normalizing audio, converting stereo to mono, limiting audio, fading audio, and a simple equalizer. - Added SSE-specific implementations for the audio processing functions to leverage SIMD for performance improvements. - Updated CMakeLists.txt files to include new libraries and link dependencies for the SIMD interface and SSE implementations. - Introduced a static test helper library for unit testing with Google Test framework.
41 lines
1.7 KiB
JSON
41 lines
1.7 KiB
JSON
{
|
|
"version": 8,
|
|
"configurePresets": [
|
|
{
|
|
"name": "Visual Studio Community 2022 Preview - amd64",
|
|
"displayName": "Visual Studio Community 2022 Preview - amd64",
|
|
"description": "将编译器用于 Visual Studio 17 2022 (x64 体系结构)",
|
|
"generator": "Visual Studio 17 2022",
|
|
"toolset": "host=x64",
|
|
"architecture": "x64",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"CMAKE_C_COMPILER": "cl.exe",
|
|
"CMAKE_CXX_COMPILER": "cl.exe",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
|
}
|
|
},
|
|
{
|
|
"name": "clang",
|
|
"displayName": "Clang 20.1.8 x86_64-pc-linux-gnu",
|
|
"description": "正在使用编译器: C = /usr/bin/clang, CXX = /usr/bin/clang++",
|
|
"binaryDir": "${sourceDir}/out/build/${presetName}",
|
|
"cacheVariables": {
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}",
|
|
"CMAKE_C_COMPILER": "/usr/bin/clang",
|
|
"CMAKE_CXX_COMPILER": "/usr/bin/clang++",
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "Visual Studio Community 2022 Preview - amd64-debug",
|
|
"displayName": "Visual Studio Community 2022 Preview - amd64 - Debug",
|
|
"configurePreset": "Visual Studio Community 2022 Preview - amd64",
|
|
"configuration": "Debug"
|
|
}
|
|
]
|
|
} |