Home
last modified time | relevance | path

Searched refs:bufferSizeInFrames (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioTrack.java1362 public int setBufferSizeInFrames(int bufferSizeInFrames) { in setBufferSizeInFrames() argument
1366 if (bufferSizeInFrames < 0) { in setBufferSizeInFrames()
1369 return native_set_buffer_size_frames(bufferSizeInFrames); in setBufferSizeInFrames()
3086 private native final int native_set_buffer_size_frames(int bufferSizeInFrames); in native_set_buffer_size_frames() argument
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp740 jobject thiz, jint bufferSizeInFrames) { in android_media_AudioTrack_set_buffer_size_frames() argument
750 if (bufferSizeInFrames < 0) { in android_media_AudioTrack_set_buffer_size_frames()
751 bufferSizeInFrames = 0; in android_media_AudioTrack_set_buffer_size_frames()
753 ssize_t result = lpTrack->setBufferSizeInFrames(bufferSizeInFrames); in android_media_AudioTrack_set_buffer_size_frames()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp974 ssize_t bufferSizeInFrames = (ssize_t) mProxy->getBufferSizeInFrames(); in getBufferDurationInUs() local
975 if (bufferSizeInFrames < 0) { in getBufferDurationInUs()
976 return (status_t)bufferSizeInFrames; in getBufferDurationInUs()
978 *duration = (int64_t)((double)bufferSizeInFrames * 1000000 in getBufferDurationInUs()
983 ssize_t AudioTrack::setBufferSizeInFrames(size_t bufferSizeInFrames) in setBufferSizeInFrames() argument
993 return (ssize_t) mProxy->setBufferSizeInFrames((uint32_t) bufferSizeInFrames); in setBufferSizeInFrames()
/frameworks/av/services/audioflinger/
DTracks.cpp581 const size_t bufferSizeInFrames = (size_t)mAudioTrackServerProxy->getBufferSizeInFrames(); in appendDump() local
583 const char modifiedBufferChar = bufferSizeInFrames < mFrameCount in appendDump()
584 ? 'r' /* buffer reduced */: bufferSizeInFrames > mFrameCount in appendDump()
609 bufferSizeInFrames, in appendDump()