1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

New library for math...

... note the swap of target_link_libraries lines in src/CMakeLists.txt,
needed to build at least on macOS, becuase FFT.h must be looked up first in
lib-math, not in lib-src/twolame

Also making a dependency cycle of SampleFormat and Dither!  But we will tolerate
that within one small library.
This commit is contained in:
Paul Licameli
2021-07-03 14:54:29 -04:00
parent 749a0575b6
commit f52dfd3ac3
58 changed files with 131 additions and 133 deletions

View File

@@ -0,0 +1,31 @@
#[[
A library of mathematical utilities and manipulation of samples
]]#
set( SOURCES
Dither.cpp
Dither.h
FFT.cpp
FFT.h
InterpolateAudio.cpp
InterpolateAudio.h
Matrix.cpp
Matrix.h
RealFFTf.cpp
RealFFTf.h
SampleCount.cpp
SampleCount.h
SampleFormat.cpp
SampleFormat.h
Spectrum.cpp
Spectrum.h
float_cast.h
)
set( LIBRARIES
lib-preferences-interface
PRIVATE
wxBase
)
audacity_library( lib-math "${SOURCES}" "${LIBRARIES}"
"" ""
)