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

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp128 jint audioFormat, jint buffSizeInBytes)
131 //LOGV("sampleRate=%d, audioFormat=%d, channels=%x, buffSizeInBytes=%d",
132 // sampleRateInHertz, audioFormat, channels, buffSizeInBytes);
151 if (buffSizeInBytes == 0) {
156 size_t frameCount = buffSizeInBytes / frameSize;
126 android_media_AudioRecord_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint source, jint sampleRateInHertz, jint channels, jint audioFormat, jint buffSizeInBytes) argument
H A Dandroid_media_AudioTrack.cpp169 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession)
172 sampleRateInHertz, audioFormat, channels, buffSizeInBytes);
228 buffSizeInBytes, 2*buffSizeInBytes);
231 buffSizeInBytes *= 2;
238 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample);
298 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) {
167 android_media_AudioTrack_native_setup(JNIEnv *env, jobject thiz, jobject weak_this, jint streamType, jint sampleRateInHertz, jint channels, jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java763 int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes);
762 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes) argument
H A DAudioTrack.java1132 int buffSizeInBytes, int mode, int[] sessionId);
1130 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument

Completed in 223 milliseconds