Skip to content

Commit

Permalink
Use FFTW library with rubberband
Browse files Browse the repository at this point in the history
Better than default KissFFT and a lot larger.

As far as sanear core branch is concerned, both can be used interchangeably.
Selection is done by preprocessor definitions during the compilation.
  • Loading branch information
alexmarsev committed Feb 14, 2016
1 parent e8b32e8 commit 0f6adfd
Show file tree
Hide file tree
Showing 8 changed files with 2,625 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
[submodule "rubberband"]
path = dll/src/rubberband
url = git://github.com/breakfastquay/rubberband.git
[submodule "fftw"]
path = dll/src/fftw
url = git://github.com/alexmarsev/fftw3.git
branch = codelets-3.3.4
10 changes: 10 additions & 0 deletions dll/sanear-dll.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "soundtouch", "src\soundtouc
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "rubberband", "src\rubberband.vcxproj", "{863E6128-1F58-4371-A282-0FCC62DFF747}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fftw", "src\fftw.vcxproj", "{85A00E9E-C632-497E-8DCB-857487F4D940}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Expand Down Expand Up @@ -81,6 +83,14 @@ Global
{863E6128-1F58-4371-A282-0FCC62DFF747}.Release|Win32.Build.0 = Release|Win32
{863E6128-1F58-4371-A282-0FCC62DFF747}.Release|x64.ActiveCfg = Release|x64
{863E6128-1F58-4371-A282-0FCC62DFF747}.Release|x64.Build.0 = Release|x64
{85A00E9E-C632-497E-8DCB-857487F4D940}.Debug|Win32.ActiveCfg = Debug|Win32
{85A00E9E-C632-497E-8DCB-857487F4D940}.Debug|Win32.Build.0 = Debug|Win32
{85A00E9E-C632-497E-8DCB-857487F4D940}.Debug|x64.ActiveCfg = Debug|x64
{85A00E9E-C632-497E-8DCB-857487F4D940}.Debug|x64.Build.0 = Debug|x64
{85A00E9E-C632-497E-8DCB-857487F4D940}.Release|Win32.ActiveCfg = Release|Win32
{85A00E9E-C632-497E-8DCB-857487F4D940}.Release|Win32.Build.0 = Release|Win32
{85A00E9E-C632-497E-8DCB-857487F4D940}.Release|x64.ActiveCfg = Release|x64
{85A00E9E-C632-497E-8DCB-857487F4D940}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions dll/src/fftw
Submodule fftw added at 1e3629
22 changes: 22 additions & 0 deletions dll/src/fftw-config/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#pragma once

#define FFTW_DOUBLE 1
#define HAVE_SSE2 1

#define DISABLE_FORTRAN 1
#define FFTW_ENABLE_ALLOCA 1

#define HAVE_ALLOCA 1
#define HAVE_ABORT 1
#define HAVE_UINTPTR_T 1

#define HAVE_INTTYPES_H 1
#define HAVE_MALLOC_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_TYPES_H 1

#define FFTW_CC "cl"
#define PACKAGE "fftw"
#define VERSION "3.3.4"
#define PACKAGE_VERSION VERSION
704 changes: 704 additions & 0 deletions dll/src/fftw.vcxproj

Large diffs are not rendered by default.

Loading

0 comments on commit 0f6adfd

Please sign in to comment.