Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DJetPlayer.java167 int buffSizeInBytes = AudioTrack.getMinBufferSize(JET_OUTPUT_RATE, in JetPlayer() local
170 if ((buffSizeInBytes != AudioTrack.ERROR) in JetPlayer()
171 && (buffSizeInBytes != AudioTrack.ERROR_BAD_VALUE)) { in JetPlayer()
177 Math.max(1200, buffSizeInBytes / in JetPlayer()
DAudioRecord.java2443 int buffSizeInBytes, int[] sessionId, String opPackageName, in native_setup() argument
2449 channelIndexMask, audioFormat, buffSizeInBytes, sessionId, in native_setup()
2457 int buffSizeInBytes, int[] sessionId, @NonNull Parcel attributionSource, in native_setup() argument
DAudioTrack.java4430 int buffSizeInBytes, int mode, int[] sessionId, @NonNull Parcel attributionSource, in native_setup() argument
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp146 jint buffSizeInBytes, jintArray jSession, in android_media_AudioRecord_setup() argument
215 if (buffSizeInBytes == 0) { in android_media_AudioRecord_setup()
219 size_t frameCount = buffSizeInBytes / audio_bytes_per_frame(channelCount, format); in android_media_AudioRecord_setup()
Dandroid_media_AudioTrack.cpp246 jint audioFormat, jint buffSizeInBytes, jint memoryMode, in android_media_AudioTrack_setup() argument
253 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup()
319 frameCount = buffSizeInBytes / (channelCount * bytesPerSample); in android_media_AudioTrack_setup()
321 frameCount = buffSizeInBytes; in android_media_AudioTrack_setup()
391 const auto iMem = allocSharedMem(buffSizeInBytes); in android_media_AudioTrack_setup()