Skip to content

Commit dfe8e3a

Browse files
committed
Merge branch 'dev/dsp2' into dev/dsp
# Conflicts: # examples/graphics/source/examples/FilterDemo.h
2 parents a1fc7fa + 3463937 commit dfe8e3a

File tree

104 files changed

+20509
-21278
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+20509
-21278
lines changed

CLAUDE.md

Lines changed: 406 additions & 0 deletions
Large diffs are not rendered by default.

cmake/yup_dependencies.cmake

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,3 +142,26 @@ macro (_yup_fetch_python use_static_libs modules)
142142
find_package (Python REQUIRED COMPONENTS ${modules})
143143
endif()
144144
endmacro()
145+
146+
#==============================================================================
147+
148+
function (_yup_find_fftw3 target_name)
149+
if (TARGET PkgConfig::FFTW AND TARGET FFTW::Float)
150+
else()
151+
find_package (PkgConfig REQUIRED)
152+
pkg_check_modules (FFTW IMPORTED_TARGET REQUIRED fftw3)
153+
find_library (FFTWF_LIB NAMES "fftw3f" PATHS ${PKG_FFTW_LIBRARY_DIRS} ${LIB_INSTALL_DIR})
154+
155+
if (FFTWF_LIB)
156+
add_library (FFTW::Float INTERFACE IMPORTED)
157+
set_target_properties (FFTW::Float
158+
PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${FFTW_INCLUDE_DIRS}"
159+
INTERFACE_LINK_LIBRARIES "${FFTWF_LIB}")
160+
else()
161+
_yup_message (FATAL_ERROR "FFTW3 library not found")
162+
endif()
163+
endif()
164+
165+
target_include_directories (${target_name} PRIVATE PkgConfig::FFTW)
166+
target_link_libraries (${target_name} PRIVATE FFTW::Float)
167+
endfunction()

cmake/yup_modules.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,7 @@ macro (yup_add_default_modules modules_path)
619619
yup_add_module (${modules_path}/thirdparty/rive_decoders "${modules_definitions}" ${thirdparty_group})
620620
yup_add_module (${modules_path}/thirdparty/rive_renderer "${modules_definitions}" ${thirdparty_group})
621621
yup_add_module (${modules_path}/thirdparty/oboe_library "${modules_definitions}" ${thirdparty_group})
622+
yup_add_module (${modules_path}/thirdparty/pffft_library "${modules_definitions}" ${thirdparty_group})
622623

623624
# ==== Yup modules
624625
set (modules_group "Modules")

examples/graphics/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ yup_standalone_app (
7272
yup::yup_gui
7373
yup::yup_audio_gui
7474
yup::yup_audio_processors
75+
pffft_library
7576
libpng
7677
libwebp
7778
${additional_modules}

examples/graphics/source/examples/FilterDemo.h

Lines changed: 150 additions & 344 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)