Reuse float arrays and Tensor/EValue objects across talker steps instead of creating new ones each iteration. Eliminates ~7s of GC overhead from thousands of JNI object allocations. Same validated audio quality as before, no C++ pipeline needed. Talker 35ms/step, CP 58ms/step, total 8.9s for 4.64s audio. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||