Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp642 void StaticAudioTrackClientProxy::setLoop(size_t loopStart, size_t loopEnd, int loopCount) in setLoop() argument
645 if (loopStart > UINT32_MAX || loopEnd > UINT32_MAX) { in setLoop()
650 mState.mLoopEnd = (uint32_t) loopEnd; in setLoop()
689 size_t loopEnd, int loopCount) in setBufferPositionAndLoop() argument
691 setLoop(loopStart, loopEnd, loopCount); in setBufferPositionAndLoop()
1081 const size_t loopEnd = update.mLoopEnd; in updateStateWithLoop() local
1086 if (loopStart < loopEnd && loopEnd <= mFrameCount && in updateStateWithLoop()
1087 loopEnd - loopStart >= MIN_LOOP) { in updateStateWithLoop()
1090 if (position >= loopEnd) { in updateStateWithLoop()
1101 localState->mLoopEnd = loopEnd; in updateStateWithLoop()
DAudioTrack.cpp1457 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop() argument
1465 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
1466 loopEnd - loopStart >= MIN_LOOP) { in setLoop()
1477 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
1481 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
1486 mLoopEnd = loopEnd; in setLoop_l()
1489 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
/frameworks/base/media/jni/soundpool/
DStream.cpp146 const uint32_t loopEnd = mSound->getSizeInBytes() / mSound->getChannelCount() / in setLoop() local
149 mAudioTrack->setLoop(0, loopEnd, loop); in setLoop()
/frameworks/av/include/private/media/
DAudioTrackShared.h527 void setLoop(size_t loopStart, size_t loopEnd, int loopCount);
529 void setBufferPositionAndLoop(size_t position, size_t loopStart, size_t loopEnd,
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h709 status_t setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount);
1218 void setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount);
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp1073 jint loopStart, jint loopEnd, jint loopCount) { in android_media_AudioTrack_set_loop() argument
1080 return nativeToJavaStatus( lpTrack->setLoop(loopStart, loopEnd, loopCount) ); in android_media_AudioTrack_set_loop()