Searched refs:javaBuffer (Results 1 – 1 of 1) sorted by relevance
225 jbyteArray javaBuffer = env->NewByteArray(length); in callRequestAudioAvailable() local226 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()