Home
last modified time | relevance | path

Searched refs:loopEnd (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libmedia/
DAudioTrackShared.cpp538 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) in setLoop() argument
541 if (loopStart > UINT32_MAX || loopEnd > UINT32_MAX) { in setLoop()
546 mState.mLoopEnd = (uint32_t) loopEnd; in setLoop()
585 size_t loopEnd, int loopCount) in setBufferPositionAndLoop() argument
587 setLoop(loopStart, loopEnd, loopCount); in setBufferPositionAndLoop()
907 const size_t loopEnd = update.mLoopEnd; in updateStateWithLoop() local
912 if (loopStart < loopEnd && loopEnd <= mFrameCount && in updateStateWithLoop()
913 loopEnd - loopStart >= MIN_LOOP) { in updateStateWithLoop()
916 if (position >= loopEnd) { in updateStateWithLoop()
927 localState->mLoopEnd = loopEnd; in updateStateWithLoop()
DAudioTrack.cpp956 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop() argument
964 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
965 loopEnd - loopStart >= MIN_LOOP) { in setLoop()
976 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
980 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
985 mLoopEnd = loopEnd; in setLoop_l()
988 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
/frameworks/av/include/private/media/
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/include/media/
DAudioTrack.h474 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
897 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp1049 uint32_t loopEnd = mSample->size()/mNumChannels/ in setLoop() local
1051 mAudioTrack->setLoop(0, loopEnd, loop); in setLoop()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp998 jint loopStart, jint loopEnd, jint loopCount) { in android_media_AudioTrack_set_loop() argument
1005 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()