File tree Expand file tree Collapse file tree 7 files changed +434
-21
lines changed
packages/react-native-audio-api Expand file tree Collapse file tree 7 files changed +434
-21
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ 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 )
38
+ # add_subdirectory(../external/kfr ${CMAKE_CURRENT_BINARY_DIR}/kfr-build)
39
39
40
40
add_library (react-native-audio-api SHARED ${SOURCE_FILES} )
41
41
@@ -48,8 +48,11 @@ target_include_directories(
48
48
"${REACT_NATIVE_DIR} /ReactCommon/jsi"
49
49
"${REACT_NATIVE_DIR} /ReactAndroid/src/main/jni/react/jni"
50
50
"${REACT_NATIVE_DIR} /ReactAndroid/src/main/jni/third-party/folly"
51
+ "${CMAKE_CURRENT_SOURCE_DIR} /libs/include/fftw3"
51
52
)
52
53
54
+ set (fftw3 ${CMAKE_CURRENT_SOURCE_DIR} /libs/fftw3/${ANDROID_ABI}/libfftw3.a )
55
+
53
56
find_package (ReactAndroid REQUIRED CONFIG )
54
57
find_package (fbjni REQUIRED CONFIG )
55
58
find_package (oboe REQUIRED CONFIG )
@@ -60,10 +63,11 @@ set(LINK_LIBRARIES
60
63
android
61
64
log
62
65
oboe::oboe
63
- kfr
64
- kfr_dsp
65
- kfr_dft
66
- kfr_io
66
+ ${fftw3}
67
+ # kfr
68
+ # kfr_dsp
69
+ # kfr_dft
70
+ # kfr_io
67
71
)
68
72
69
73
if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76 )
You can’t perform that action at this time.
0 commit comments