Searched refs:loopEnd (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp579 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) argument
582 if (loopStart > UINT32_MAX || loopEnd > UINT32_MAX) {
587 mState.mLoopEnd = (uint32_t) loopEnd;
619 // no ongoing loop is possible if position is greater than loopEnd.
626 size_t loopEnd, int loopCount)
628 setLoop(loopStart, loopEnd, loopCount);
1019 const size_t loopEnd = update.mLoopEnd; local
1024 if (loopStart < loopEnd && loopEnd <= mFrameCount &&
1025 loopEnd
625 setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd, int loopCount) argument
[all...]
H A DAudioTrack.cpp783 0 /* loopStart */, 0 /* loopEnd */, 0 /* loopCount */);
1072 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) argument
1080 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount &&
1081 loopEnd - loopStart >= MIN_LOOP) {
1092 setLoop_l(loopStart, loopEnd, loopCount);
1096 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) argument
1101 mLoopEnd = loopEnd;
1104 mStaticProxy->setLoop(loopStart, loopEnd, loopCount);
/frameworks/av/include/media/
H A DAudioTrack.h478 * loopEnd: loop end in frames relative to start of buffer.
483 * loopCount != 0 implies 0 <= loopStart < loopEnd <= frameCount().
485 * If the loop period (loopEnd - loopStart) is too small for the implementation to support,
489 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
966 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1085 uint32_t mLoopEnd; // last setLoop loopEnd
/frameworks/av/include/private/media/
H A DAudioTrackShared.h440 void setLoop(size_t loopStart, size_t loopEnd, int loopCount);
442 void setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd,
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTrack.h478 * loopEnd: loop end in frames relative to start of buffer.
483 * loopCount != 0 implies 0 <= loopStart < loopEnd <= frameCount().
485 * If the loop period (loopEnd - loopStart) is too small for the implementation to support,
489 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
966 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1085 uint32_t mLoopEnd; // last setLoop loopEnd
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp1077 uint32_t loopEnd = mSample->size()/mNumChannels/ local
1079 mAudioTrack->setLoop(0, loopEnd, loop);
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp1051 jint loopStart, jint loopEnd, jint loopCount) {
1058 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) );
1050 android_media_AudioTrack_set_loop(JNIEnv *env, jobject thiz, jint loopStart, jint loopEnd, jint loopCount) argument

Completed in 5123 milliseconds