Searched refs:loopEnd (Results 1 - 7 of 7) 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) {
546 mState.mLoopEnd = (uint32_t) loopEnd;
578 // no ongoing loop is possible if position is greater than loopEnd.
585 size_t loopEnd, int loopCount)
587 setLoop(loopStart, loopEnd, loopCount);
909 const size_t loopEnd = update.mLoopEnd; local
914 if (loopStart < loopEnd && loopEnd <= mFrameCount &&
915 loopEnd
584 setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd, int loopCount) argument
[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
1017 mLoopEnd = loopEnd;
1020 mStaticProxy->setLoop(loopStart, loopEnd, loopCount);
/frameworks/av/include/media/
H A DAudioTrack.h468 * loopEnd: loop end 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);
1052 uint32_t mLoopEnd; // last setLoop loopEnd
/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.h468 * loopEnd: loop end 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);
1052 uint32_t mLoopEnd; // last setLoop loopEnd
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp1076 uint32_t loopEnd = mSample->size()/mNumChannels/ local
1078 mAudioTrack->setLoop(0, loopEnd, loop);
/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 161 milliseconds