Searched refs:bufferSizeInFrames (Results 1 – 6 of 6) sorted by relevance
750 jobject thiz, jint bufferSizeInFrames) { in android_media_AudioTrack_set_buffer_size_frames() argument760 if (bufferSizeInFrames < 0) { in android_media_AudioTrack_set_buffer_size_frames()761 bufferSizeInFrames = 0; in android_media_AudioTrack_set_buffer_size_frames()763 ssize_t result = lpTrack->setBufferSizeInFrames(bufferSizeInFrames); in android_media_AudioTrack_set_buffer_size_frames()
1626 public int setBufferSizeInFrames(@IntRange (from = 0) int bufferSizeInFrames) { in setBufferSizeInFrames()1630 if (bufferSizeInFrames < 0) { in setBufferSizeInFrames()1633 return native_set_buffer_size_frames(bufferSizeInFrames); in setBufferSizeInFrames()3627 private native final int native_set_buffer_size_frames(int bufferSizeInFrames); in native_set_buffer_size_frames() argument
1057 ssize_t bufferSizeInFrames = (ssize_t) mProxy->getBufferSizeInFrames(); in getBufferDurationInUs() local1058 if (bufferSizeInFrames < 0) { in getBufferDurationInUs()1059 return (status_t)bufferSizeInFrames; in getBufferDurationInUs()1061 *duration = (int64_t)((double)bufferSizeInFrames * 1000000 in getBufferDurationInUs()1066 ssize_t AudioTrack::setBufferSizeInFrames(size_t bufferSizeInFrames) in setBufferSizeInFrames() argument1076 return (ssize_t) mProxy->setBufferSizeInFrames((uint32_t) bufferSizeInFrames); in setBufferSizeInFrames()
1350 size_t bufferSizeInFrames = track->frameCount(); in android_media_MediaPlayer2_native_on_stream_data_request() local1356 bufferSizeInFrames * audio_bytes_per_sample(format) * track->channelCount(); in android_media_MediaPlayer2_native_on_stream_data_request()1359 bufferSizeInBytes = bufferSizeInFrames; in android_media_MediaPlayer2_native_on_stream_data_request()
423 int bufferSizeInFrames = env->CallIntMethod(mAudioTrackObj, jGetBufferSizeInFrames); in getBufferDurationInUs() local429 *duration = (int64_t) (bufferSizeInFrames * secondToMicro / (sampleRate * speed)); in getBufferDurationInUs()
726 const size_t bufferSizeInFrames = (size_t)mAudioTrackServerProxy->getBufferSizeInFrames(); in appendDump() local728 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount in appendDump()729 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount in appendDump()759 bufferSizeInFrames, in appendDump()