-keep class com.k2fsa.sherpa.onnx.** { *; } -keepclassmembers class kotlin.jvm.functions.** { *; } # sherpa JNI resolves this exact typed signature (not Function1.invoke(Object)). -keep class com.ttstd.tts.engine.SynthesisAudioCallback { *; }