Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeEncoder.cpp37 jint jWidth, jint jHeight, jint jProfile, jint jLevel, jint jSampleRate, in Java_com_android_media_benchmark_library_Native_Encode() argument
66 encParams.sampleRate = jSampleRate; in Java_com_android_media_benchmark_library_Native_Encode()
93 inputReference = string(fileName) + "_" + to_string(jSampleRate) + "hz_" + in Java_com_android_media_benchmark_library_Native_Encode()
95 clipDurationUs = (eleSize / (jSampleRate * jNumChannels)) * 1000000; in Java_com_android_media_benchmark_library_Native_Encode()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp218 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()
Dandroid_media_AudioRecord.cpp186 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()