Lines Matching refs:waitCount
829 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount)
836 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
859 if (UNLIKELY(!waitCount)) {
903 if (--waitCount == 0) {
1081 int32_t waitCount = -1;
1083 waitCount = 1;
1093 status_t err = obtainBuffer(&audioBuffer, waitCount);