Searched defs:waitCount (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp739 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) argument
759 if (waitCount == -1) {
761 } else if (waitCount == 0) {
763 } else if (waitCount > 0) {
764 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
769 ALOGE("%s invalid waitCount %d", __func__, waitCount);
H A DAudioTrack.cpp1559 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount, size_t *nonContig) argument
1579 if (waitCount == -1) {
1581 } else if (waitCount == 0) {
1583 } else if (waitCount > 0) {
1584 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
1589 ALOGE("%s invalid waitCount %d", __func__, waitCount);

Completed in 55 milliseconds