Searched defs:buffSizeInBytes (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp184 jint audioFormat, jint buffSizeInBytes, jintArray jSession, jstring opPackageName,
188 //ALOGV("sampleRate=%d, audioFormat=%d, channel mask=%x, buffSizeInBytes=%d "
190 // sampleRateInHertz, audioFormat, channelMask, buffSizeInBytes, nativeRecordInJavaObj);
256 if (buffSizeInBytes == 0) {
261 size_t frameCount = buffSizeInBytes / frameSize;
182 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, jintArray jSampleRate, jint channelMask, jint channelIndexMask, jint audioFormat, jint buffSizeInBytes, jintArray jSession, jstring opPackageName, jlong nativeRecordInJavaObj) argument
H A Dandroid_media_AudioTrack.cpp218 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession,
223 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes,
290 frameCount = buffSizeInBytes / (channelCount * bytesPerSample);
292 frameCount = buffSizeInBytes;
348 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) {
216 android_media_AudioTrack_setup(JNIEnv *env, jobject thiz, jobject weak_this, jobject jaa, jintArray jSampleRate, jint channelPositionMask, jint channelIndexMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession, jlong nativeAudioTrack) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java1737 int buffSizeInBytes, int[] sessionId, String opPackageName,
1734 native_setup(Object audiorecord_this, Object attributes, int[] sampleRate, int channelMask, int channelIndexMask, int audioFormat, int buffSizeInBytes, int[] sessionId, String opPackageName, long nativeRecordInJavaObj) argument
H A DAudioTrack.java2768 int buffSizeInBytes, int mode, int[] sessionId, long nativeAudioTrack);
2765 native_setup(Object audiotrack_this, Object attributes, int[] sampleRate, int channelMask, int channelIndexMask, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId, long nativeAudioTrack) argument

Completed in 160 milliseconds