Searched refs:buffSizeInBytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | JetPlayer.java | 164 int buffSizeInBytes = AudioTrack.getMinBufferSize(JET_OUTPUT_RATE, in JetPlayer() local 167 if ((buffSizeInBytes != AudioTrack.ERROR) in JetPlayer() 168 && (buffSizeInBytes != AudioTrack.ERROR_BAD_VALUE)) { in JetPlayer() 174 Math.max(1200, buffSizeInBytes / 4)); in JetPlayer()
|
D | AudioRecord.java | 784 int buffSizeInBytes, int[] sessionId); in native_setup() argument
|
D | AudioTrack.java | 1150 int buffSizeInBytes, int mode, int[] sessionId); in native_setup() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioTrack.cpp | 171 jint audioFormat, jint buffSizeInBytes, jint memoryMode, jintArray jSession) in android_media_AudioTrack_native_setup() argument 174 sampleRateInHertz, audioFormat, javaChannelMask, buffSizeInBytes); in android_media_AudioTrack_native_setup() 235 buffSizeInBytes, 2*buffSizeInBytes); in android_media_AudioTrack_native_setup() 238 buffSizeInBytes *= 2; in android_media_AudioTrack_native_setup() 245 int frameCount = buffSizeInBytes / (nbChannels * bytesPerSample); in android_media_AudioTrack_native_setup() 305 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_native_setup()
|
D | android_media_AudioRecord.cpp | 130 jint audioFormat, jint buffSizeInBytes, jintArray jSession) in android_media_AudioRecord_setup() argument 153 if (buffSizeInBytes == 0) { in android_media_AudioRecord_setup() 158 size_t frameCount = buffSizeInBytes / frameSize; in android_media_AudioRecord_setup()
|