Home | History | Annotate | Download | only in libmedia

Lines Matching refs:loopCount

374         // would not stop until loopCount reaches 0).
503 status_t AudioTrack::setLoop(uint32_t loopStart, uint32_t loopEnd, int loopCount)
509 if (loopCount == 0) {
512 cblk->loopCount = 0;
519 LOGE("setLoop invalid value: loopStart %d, loopEnd %d, loopCount %d, framecount %d, user %d", loopStart, loopEnd, loopCount, cblk->frameCount, cblk->user);
531 cblk->loopCount = loopCount;
532 mLoopCount = loopCount;
537 status_t AudioTrack::getLoop(uint32_t *loopStart, uint32_t *loopEnd, int *loopCount)
545 if (loopCount != 0) {
546 if (mCblk->loopCount < 0) {
547 *loopCount = -1;
549 *loopCount = mCblk->loopCount;
966 while (mLoopCount > mCblk->loopCount) {
967 int loopCount = -1;
969 if (mLoopCount >= 0) loopCount = mLoopCount;
971 mCbf(EVENT_LOOP_END, mUserData, (void *)&loopCount);
1113 loopCount(0), volumeLR(0),
1185 if (--loopCount == 0) {
1235 if (loopCount >= 0) {
1236 return (loopEnd - loopStart)*loopCount + u - s;