fix(call): align audio frontend ownership with core lifecycle
Keep the borrowed audio provider on UTUN_INSTANCE across chat service restarts. Attach and detach Android voice from the core worker and reject DSP startup after detach. Preserve TX owner epochs, pending slots and foreign-instance RX isolation. Remove the unused cross-thread online API and keep its check local to call.c. Add eight lifecycle regressions with real cores and the Android host bridge. Audit public call, DSP, clock, headless and desktop audio contracts and record the findings and validation scope. Validation: voice/desktop 38/38, four native call suites, native and both Android ABI builds, full check 204/204 plus proxy/burst/load. JVM results remain Gradle UP-TO-DATE (155 app and 15 router). No hardware runtime validation.
This commit is contained in:
1 parent
8e2b150cce
commit
f7ed0ae87c
29 files changed
+1156
-236
No files matched your search
@@ -70,7 +70,7 @@ set_source_files_properties("${LIB_DIR}/video_plane.c" PROPERTIES COMPILE_OPTION
|
||||
target_include_directories(utun_core PRIVATE
|
||||
${UTUN_INCLUDE_DIRS} ${JNI_DIR} ${OPENSSL_DIR}/include ${ORT_DIR}/include
|
||||
)
|
||||
target_compile_definitions(utun_core PRIVATE ${UTUN_DEFINES} __ANDROID__ HAVE_SILERO_VAD)
|
||||
target_compile_definitions(utun_core PRIVATE ${UTUN_DEFINES} __ANDROID__ HAVE_SILERO_VAD UTUN_WITH_VOICE)
|
||||
set_target_properties(utun_core PROPERTIES C_STANDARD 99 C_STANDARD_REQUIRED ON)
|
||||
|
||||
# JNI bridge + link into shared library
|
||||
|
||||
Reference in new issue
Block a user