Searched refs:jSampleRate (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeEncoder.cpp | 37 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/ |
D | android_media_AudioRecord.cpp | 144 jobject jaa, jintArray jSampleRate, jint channelMask, in android_media_AudioRecord_setup() argument 185 if (jSampleRate == 0) { in android_media_AudioRecord_setup() 190 env->GetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup() 294 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioRecord_setup()
|
D | android_media_AudioTrack.cpp | 244 jobject jaa, jintArray jSampleRate, in android_media_AudioTrack_setup() argument 253 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup() 288 if (jSampleRate == 0) { in android_media_AudioTrack_setup() 293 int* sampleRates = env->GetIntArrayElements(jSampleRate, NULL); in android_media_AudioTrack_setup() 295 env->ReleaseIntArrayElements(jSampleRate, sampleRates, JNI_ABORT); in android_media_AudioTrack_setup() 472 env->SetIntArrayRegion(jSampleRate, 0, 1, elements); in android_media_AudioTrack_setup()
|