Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp183 jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup() argument
224 if (jSampleRate == 0) { in android_media_AudioRecord_setup()
229 env->GetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()
347 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp220 jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() argument
226 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup()
262 if (jSampleRate == 0) { in android_media_AudioTrack_setup()
267 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup()
269 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup()
421 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioTrack_setup()