Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp515 auto *recordBuff = envGetArrayElements(env, javaAudioData, NULL); in android_media_AudioRecord_readInArray() local
516 if (recordBuff == NULL) { in android_media_AudioRecord_readInArray()
522 const size_t sizeInBytes = sizeInSamples * sizeof(*recordBuff); in android_media_AudioRecord_readInArray()
524 recordBuff + offsetInSamples, sizeInBytes, isReadBlocking == JNI_TRUE /* blocking */); in android_media_AudioRecord_readInArray()
526 envReleaseArrayElements(env, javaAudioData, recordBuff, 0); in android_media_AudioRecord_readInArray()
531 return (jint)(readSize / sizeof(*recordBuff)); in android_media_AudioRecord_readInArray()