Home
last modified time | relevance | path

Searched refs:buffSizeInBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DJetPlayer.java166 int buffSizeInBytes = AudioTrack.getMinBufferSize(JET_OUTPUT_RATE, in JetPlayer() local
169 if ((buffSizeInBytes != AudioTrack.ERROR) in JetPlayer()
170 && (buffSizeInBytes != AudioTrack.ERROR_BAD_VALUE)) { in JetPlayer()
176 Math.max(1200, buffSizeInBytes / in JetPlayer()
DAudioRecord.java1924 int buffSizeInBytes, int[] sessionId, String opPackageName, in native_setup() argument
DAudioTrack.java3590 int buffSizeInBytes, int mode, int[] sessionId, long nativeAudioTrack, in native_setup() argument
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp219 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession, in android_media_AudioTrack_setup() argument
224 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup()
289 frameCount = buffSizeInBytes / (channelCount * bytesPerSample); in android_media_AudioTrack_setup()
291 frameCount = buffSizeInBytes; in android_media_AudioTrack_setup()
351 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_setup()
Dandroid_media_AudioRecord.cpp187 jint audioFormat, jint buffSizeInBytes, jintArray jSession, jstring opPackageName, in android_media_AudioRecord_setup() argument
258 if (buffSizeInBytes == 0) { in android_media_AudioRecord_setup()
263 size_t frameCount = buffSizeInBytes / frameSize; in android_media_AudioRecord_setup()