Add bounded AAudio voice output with AudioTrack fallback
This commit is contained in:
1 parent
a3854f2836
commit
075ffc4d3b
3 files changed
+265
-1
No files matched your search
@@ -76,6 +76,7 @@ add_library(utun SHARED
|
||||
${JNI_DIR}/android_jni_bridge.c
|
||||
${JNI_DIR}/android_stream_jni.c
|
||||
${JNI_DIR}/android_call_video_jni.c
|
||||
${JNI_DIR}/android_call_output_jni.c
|
||||
${JNI_DIR}/android_udp_log.c
|
||||
$<TARGET_OBJECTS:utun_core>
|
||||
)
|
||||
@@ -87,4 +88,4 @@ target_compile_definitions(utun PRIVATE ${UTUN_DEFINES} __ANDROID__)
|
||||
set_target_properties(utun PROPERTIES C_STANDARD 99 C_STANDARD_REQUIRED ON)
|
||||
|
||||
find_library(log-lib log)
|
||||
target_link_libraries(utun ${log-lib} openssl_crypto utun_voice onnxruntime)
|
||||
target_link_libraries(utun ${log-lib} openssl_crypto utun_voice onnxruntime aaudio dl)
|
||||
Reference in new issue
Block a user