Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp214 jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() argument
220 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup()
256 if (jSampleRate == 0) { in android_media_AudioTrack_setup()
261 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup()
263 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup()
426 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioTrack_setup()
Dandroid_media_AudioRecord.cpp192 jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup() argument
233 if (jSampleRate == 0) { in android_media_AudioRecord_setup()
238 env->GetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()
356 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()