summaryrefslogtreecommitdiffstats
path: root/lib/soundtouch/SConscript
blob: 1df1e68b2886b97580081d9f81d6f258e8f8cf9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env python

Import('env')
env = env.Clone()

soundtouch_sources = [
  'AAFilter.cpp',
  'BPMDetect.cpp',
  'FIFOSampleBuffer.cpp',
  'FIRFilter.cpp',
  'InterpolateCubic.cpp',
  'InterpolateLinear.cpp',
  'InterpolateShannon.cpp',
  'PeakFinder.cpp',
  'RateTransposer.cpp',
  'SoundTouch.cpp',
  'TDStretch.cpp',
  # SoundTouch CPU optimizations are only for x86
  # architectures. SoundTouch automatically ignores these files
  # when it is not being built for an architecture that supports
  # them.
  'cpu_detect_x86.cpp',
  'mmx_optimized.cpp',
  'sse_optimized.cpp',
]

env.StaticLibrary(target='soundtouch', source=soundtouch_sources)