Skip to content

Commit

Permalink
premake: add soundtouch plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba160 authored and Oleksiy-Yakovenko committed Apr 2, 2020
1 parent b144379 commit 63c1f97
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
33 changes: 32 additions & 1 deletion premake5-win.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ newoption {
if _OPTIONS["standard"] ~= nil then
plugins_to_disable = {"plugin-artwork", "plugin-converter", "plugin-converter_gtk2",
"plugin-converter_gtk3","plugin-ffmpeg","plugin-waveout",
"plugin-wildmidi" }
"plugin-wildmidi", "plugin-soundtouch" }
for i,v in ipairs(plugins_to_disable) do
if _OPTIONS[v] == nil then
_OPTIONS[v] = "disabled"
Expand Down Expand Up @@ -879,6 +879,37 @@ project "lastfm"
pkgconfig ("libcurl")
end

if option ("plugin-soundtouch") then
project "ddb_soundtouch"
kind "SharedLib"
language "C++"
targetdir "bin/%{cfg.buildcfg}/plugins"
targetprefix ""

includedirs { "plugins/soundtouch/soundtouch/include" }

files {
"plugins/soundtouch/plugin.c",
"plugins/soundtouch/st.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/AAFilter.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/BPMDetect.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/FIFOSampleBuffer.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/FIRFilter.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateCubic.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateLinear.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateShannon.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/PeakFinder.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/RateTransposer.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.sln",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.vcxproj",
"plugins/soundtouch/soundtouch/source/SoundTouch/TDStretch.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/cpu_detect_x86.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/mmx_optimized.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/sse_optimized.cpp"
}
end


project "translations"
kind "Utility"
Expand Down
29 changes: 29 additions & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,35 @@ project "nullout"
"plugins/nullout/*.c",
}

project "ddb_soundtouch"
kind "SharedLib"
language "C++"
targetdir "bin/%{cfg.buildcfg}/plugins"
targetprefix ""

includedirs { "plugins/soundtouch/soundtouch/include" }

files {
"plugins/soundtouch/plugin.c",
"plugins/soundtouch/st.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/AAFilter.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/BPMDetect.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/FIFOSampleBuffer.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/FIRFilter.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateCubic.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateLinear.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/InterpolateShannon.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/PeakFinder.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/RateTransposer.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.sln",
"plugins/soundtouch/soundtouch/source/SoundTouch/SoundTouch.vcxproj",
"plugins/soundtouch/soundtouch/source/SoundTouch/TDStretch.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/cpu_detect_x86.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/mmx_optimized.cpp",
"plugins/soundtouch/soundtouch/source/SoundTouch/sse_optimized.cpp"
}


project "resources"
kind "Utility"
Expand Down

0 comments on commit 63c1f97

Please sign in to comment.