Searched refs:loopStart (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp538 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) argument
541 if (loopStart > UINT32_MAX || loopEnd > UINT32_MAX) {
545 mState.mLoopStart = (uint32_t) loopStart;
584 void StaticAudioTrackClientProxy::setBufferPositionAndLoop(size_t position, size_t loopStart, argument
587 setLoop(loopStart, loopEnd, loopCount);
908 const size_t loopStart = update.mLoopStart; local
914 if (loopStart < loopEnd && loopEnd <= mFrameCount &&
915 loopEnd - loopStart >= MIN_LOOP) {
919 position = loopStart;
930 localState->mLoopStart = loopStart;
[all...]
H A DAudioTrack.cpp699 0 /* loopStart */, 0 /* loopEnd */, 0 /* loopCount */);
988 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) argument
996 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount &&
997 loopEnd - loopStart >= MIN_LOOP) {
1008 setLoop_l(loopStart, loopEnd, loopCount);
1012 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) argument
1018 mLoopStart = loopStart;
1020 mStaticProxy->setLoop(loopStart, loopEnd, loopCount);
/frameworks/av/include/media/
H A DAudioTrack.h467 * loopStart: loop start in frames relative to start of buffer.
473 * loopCount != 0 implies 0 <= loopStart < loopEnd <= frameCount().
475 * If the loop period (loopEnd - loopStart) is too small for the implementation to support,
479 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
935 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1051 uint32_t mLoopStart; // last setLoop loopStart
/frameworks/av/include/private/media/
H A DAudioTrackShared.h428 void setLoop(size_t loopStart, size_t loopEnd, int loopCount);
430 void setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd,
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTrack.h467 * loopStart: loop start in frames relative to start of buffer.
473 * loopCount != 0 implies 0 <= loopStart < loopEnd <= frameCount().
475 * If the loop period (loopEnd - loopStart) is too small for the implementation to support,
479 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
935 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1051 uint32_t mLoopStart; // last setLoop loopStart
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp1014 jint loopStart, jint loopEnd, jint loopCount) {
1021 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) );
1013 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument

Completed in 106 milliseconds