Home
last modified time | relevance | path

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

/external/svox/pico/compat/jni/
Dcom_android_tts_compat_SynthProxy.cpp225 jbyteArray javaBuffer = env->NewByteArray(length); in callRequestAudioAvailable() local
226 if (javaBuffer == NULL) { in callRequestAudioAvailable()
231 env->SetByteArrayRegion(javaBuffer, 0, length, static_cast<jbyte *>(buffer + offset)); in callRequestAudioAvailable()
233 env->DeleteLocalRef(javaBuffer); in callRequestAudioAvailable()
237 javaBuffer, offset, length); in callRequestAudioAvailable()
239 env->DeleteLocalRef(javaBuffer); in callRequestAudioAvailable()
242 env->DeleteLocalRef(javaBuffer); in callRequestAudioAvailable()