File tree Expand file tree Collapse file tree 7 files changed +429
-22
lines changed
packages/react-native-audio-api Expand file tree Collapse file tree 7 files changed +429
-22
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,6 @@ file(GLOB_RECURSE SOURCE_FILES
35
35
"../common/cpp/types/*.h"
36
36
)
37
37
38
- add_subdirectory (../external/kfr ${CMAKE_CURRENT_BINARY_DIR} /kfr-build )
39
-
40
38
add_library (react-native-audio-api SHARED ${SOURCE_FILES} )
41
39
42
40
file (GLOB DIRS CONFIGURE_DEPENDS "src/main/cpp/**" "../common/cpp/**" )
@@ -48,8 +46,11 @@ target_include_directories(
48
46
"${REACT_NATIVE_DIR} /ReactCommon/jsi"
49
47
"${REACT_NATIVE_DIR} /ReactAndroid/src/main/jni/react/jni"
50
48
"${REACT_NATIVE_DIR} /ReactAndroid/src/main/jni/third-party/folly"
49
+ "${CMAKE_CURRENT_SOURCE_DIR} /libs/include/fftw3"
51
50
)
52
51
52
+ set (fftw3 ${CMAKE_CURRENT_SOURCE_DIR} /libs/fftw3/${ANDROID_ABI}/libfftw3.a )
53
+
53
54
find_package (ReactAndroid REQUIRED CONFIG )
54
55
find_package (fbjni REQUIRED CONFIG )
55
56
find_package (oboe REQUIRED CONFIG )
@@ -60,10 +61,7 @@ set(LINK_LIBRARIES
60
61
android
61
62
log
62
63
oboe::oboe
63
- kfr
64
- kfr_dsp
65
- kfr_dft
66
- kfr_io
64
+ ${fftw3}
67
65
)
68
66
69
67
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76 )
You can’t perform that action at this time.
0 commit comments