Searched refs:jSampleRate (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 218 jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, in android_media_AudioTrack_setup() argument 224 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup() 258 if (jSampleRate == 0) { in android_media_AudioTrack_setup() 263 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup() 265 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup() 421 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioTrack_setup()
|
D | android_media_AudioRecord.cpp | 186 jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, in android_media_AudioRecord_setup() argument 226 if (jSampleRate == 0) { in android_media_AudioRecord_setup() 231 env->GetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup() 345 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()
|