Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/java/android/media/
H A DJetPlayer.java169 int buffSizeInBytes = AudioTrack.getMinBufferSize(JET_OUTPUT_RATE, in JetPlayer() local
172 if ((buffSizeInBytes != AudioTrack.ERROR) in JetPlayer()
173 && (buffSizeInBytes != AudioTrack.ERROR_BAD_VALUE)) { in JetPlayer()
179 Math.max(1200, buffSizeInBytes / in JetPlayer()
H A DAudioRecord.java2235 int buffSizeInBytes, int[] sessionId, String opPackageName, in native_setup() argument
2241 channelIndexMask, audioFormat, buffSizeInBytes, sessionId, in native_setup()
2249 int buffSizeInBytes, int[] sessionId, @NonNull Parcel attributionSource, in native_setup() argument
H A DAudioTrack.java4261 int buffSizeInBytes, int mode, int[] sessionId, long nativeAudioTrack, in native_setup() argument
/aosp12/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp252 jint audioFormat, jint buffSizeInBytes, jint memoryMode, in android_media_AudioTrack_setup() argument
258 jSampleRate, channelPositionMask, channelIndexMask, audioFormat, buffSizeInBytes, in android_media_AudioTrack_setup()
324 frameCount = buffSizeInBytes / (channelCount * bytesPerSample); in android_media_AudioTrack_setup()
326 frameCount = buffSizeInBytes; in android_media_AudioTrack_setup()
405 if (!lpJniStorage->allocSharedMem(buffSizeInBytes)) { in android_media_AudioTrack_setup()
H A Dandroid_media_AudioRecord.cpp191 jint buffSizeInBytes, jintArray jSession, in android_media_AudioRecord_setup() argument
262 if (buffSizeInBytes == 0) { in android_media_AudioRecord_setup()
267 size_t frameCount = buffSizeInBytes / frameSize; in android_media_AudioRecord_setup()