Home
last modified time | relevance | path

Searched refs:nativeSoLib (Results 1 – 2 of 2) sorted by relevance

/external/svox/pico/compat/src/com/android/tts/compat/
DSynthProxy.java51 public SynthProxy(String nativeSoLib, String engineConfig) { in SynthProxy() argument
52 boolean applyFilter = shouldApplyAudioFilter(nativeSoLib); in SynthProxy()
53 Log.v(TAG, "About to load "+ nativeSoLib + ", applyFilter=" + applyFilter); in SynthProxy()
54 mJniData = native_setup(nativeSoLib, engineConfig); in SynthProxy()
56 throw new RuntimeException("Failed to load " + nativeSoLib); in SynthProxy()
63 private boolean shouldApplyAudioFilter(String nativeSoLib) { in shouldApplyAudioFilter() argument
64 return nativeSoLib.toLowerCase().contains("pico"); in shouldApplyAudioFilter()
157 private native final int native_setup(String nativeSoLib, String engineConfig); in native_setup() argument
/external/svox/pico/compat/jni/
Dcom_android_tts_compat_SynthProxy.cpp335 jstring nativeSoLib, jstring engConfig) in com_android_tts_compat_SynthProxy_native_setup() argument
340 const char *nativeSoLibNativeString = env->GetStringUTFChars(nativeSoLib, 0); in com_android_tts_compat_SynthProxy_native_setup()
369 env->ReleaseStringUTFChars(nativeSoLib, nativeSoLibNativeString); in com_android_tts_compat_SynthProxy_native_setup()