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)
172 sampleRateInHertz, audioFormat, channels, buffSizeInBytes);
228 buffSizeInBytes, 2*buffSizeInBytes);
231 buffSizeInBytes *= 2;
238 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample);
281 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) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java762 int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes);
761 native_setup(Object audiorecord_this, int recordSource, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes) argument
H A DAudioTrack.java1015 int buffSizeInBytes, int mode);
1013 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode) argument

Completed in 1129 milliseconds