Home
last modified time | relevance | path

Searched refs:startThresholdInFrames (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp88 const uint32_t startThresholdInFrames = in getStartThresholdInFrames() local
90 if (startThresholdInFrames == 0 || startThresholdInFrames > mFrameCount) { in getStartThresholdInFrames()
93 __func__, startThresholdInFrames, mFrameCount); in getStartThresholdInFrames()
96 return startThresholdInFrames; in getStartThresholdInFrames()
99 uint32_t Proxy::setStartThresholdInFrames(uint32_t startThresholdInFrames) in setStartThresholdInFrames() argument
101 const uint32_t actual = std::min((size_t)startThresholdInFrames, frameCount()); in setStartThresholdInFrames()
DAudioTrack.cpp1426 ssize_t AudioTrack::setStartThresholdInFrames(size_t startThresholdInFrames) in setStartThresholdInFrames() argument
1428 if (startThresholdInFrames > INT32_MAX || startThresholdInFrames == 0) { in setStartThresholdInFrames()
1442 const uint32_t final = mProxy->setStartThresholdInFrames(startThresholdInFrames); in setStartThresholdInFrames()
/frameworks/base/media/java/android/media/
DAudioTrack.java2318 @IntRange (from = 1) int startThresholdInFrames) { in setStartThresholdInFrames()
2325 if (startThresholdInFrames < 1) { in setStartThresholdInFrames()
2327 + startThresholdInFrames + " must be positive"); in setStartThresholdInFrames()
2329 return native_setStartThresholdInFrames(startThresholdInFrames); in setStartThresholdInFrames()
4529 private native int native_setStartThresholdInFrames(int startThresholdInFrames); in native_setStartThresholdInFrames() argument
/frameworks/av/include/private/media/
DAudioTrackShared.h304 uint32_t setStartThresholdInFrames(uint32_t startThresholdInFrames);
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h549 ssize_t setStartThresholdInFrames(size_t startThresholdInFrames);
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1429 jint startThresholdInFrames) { in android_media_AudioTrack_setStartThresholdInFrames() argument
1437 const ssize_t result = lpTrack->setStartThresholdInFrames(startThresholdInFrames); in android_media_AudioTrack_setStartThresholdInFrames()
/frameworks/av/services/audioflinger/
DTracks.cpp1162 const size_t startThresholdInFrames = mServerProxy->getStartThresholdInFrames(); in isReady() local
1164 std::min(startThresholdInFrames, bufferSizeInFrames), size_t(1), mFrameCount); in isReady()