Lines Matching refs:loopCount
1411 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop() argument
1417 if (loopCount == 0) { in setLoop()
1419 } else if (loopCount >= -1 && loopStart < loopEnd && loopEnd <= mFrameCount && in setLoop()
1431 setLoop_l(loopStart, loopEnd, loopCount); in setLoop()
1435 void AudioTrack::setLoop_l(uint32_t loopStart, uint32_t loopEnd, int loopCount) in setLoop_l() argument
1439 mLoopCount = loopCount; in setLoop_l()
1442 mLoopCountNotified = loopCount; in setLoop_l()
1443 mStaticProxy->setLoop(loopStart, loopEnd, loopCount); in setLoop_l()
2392 int loopCount; in processAudioBuffer() local
2394 mStaticProxy->getBufferPositionAndLoopCount(&bufferPosition, &loopCount); in processAudioBuffer()
2395 loopPeriod = ((loopCount > 0) ? mLoopEnd : mFrameCount) - bufferPosition; in processAudioBuffer()
2396 loopCountNotifications = min(mLoopCountNotified - loopCount, kMaxLoopCountNotifications); in processAudioBuffer()
2397 mLoopCountNotified = loopCount; // discard any excess notifications in processAudioBuffer()
2759 int loopCount = 0; in restoreTrack_l() local
2761 mStaticProxy->getBufferPositionAndLoopCount(&bufferPosition, &loopCount); in restoreTrack_l()
2796 if (loopCount != 0) { in restoreTrack_l()
2798 mLoopStart, mLoopEnd, loopCount); in restoreTrack_l()