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

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp170 jint audioFormat, jint buffSizeInBytes, jintArray jSession)
173 //ALOGV("sampleRate=%d, audioFormat=%d, channels=%x, buffSizeInBytes=%d",
174 // sampleRateInHertz, audioFormat, channels, buffSizeInBytes);
193 if (buffSizeInBytes == 0) {
198 size_t frameCount = buffSizeInBytes / frameSize;
168 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint source, jint sampleRateInHertz, jint channels, jint audioFormat, jint buffSizeInBytes, jintArray jSession) argument
H A Dandroid_media_AudioTrack.cpp205 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession)
208 sampleRateInHertz, audioFormat, javaChannelMask, buffSizeInBytes);
264 buffSizeInBytes, 2*buffSizeInBytes);
267 buffSizeInBytes *= 2;
274 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample);
331 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) {
203 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint streamType, jint sampleRateInHertz, jint javaChannelMask, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java803 int buffSizeInBytes, int[] sessionId);
801 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int[] sessionId) argument
H A DAudioTrack.java1208 int buffSizeInBytes, int mode, int[] sessionId);
1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument

Completed in 2223 milliseconds