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

/frameworks/av/media/libmedia/
H A DAudioRecord.cpp591 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
605 if (waitCount == -1) {
607 } else if (waitCount == 0) {
609 } else if (waitCount > 0) {
610 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
615 ALOGE("%s invalid waitCount %d", __func__, waitCount);
H A DAudioTrack.cpp1261 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
1275 if (waitCount == -1) {
1277 } else if (waitCount == 0) {
1279 } else if (waitCount > 0) {
1280 long long ms = WAIT_PERIOD_MS * (long long) waitCount;
1285 ALOGE("%s invalid waitCount %d", __func__, waitCount);

Completed in 115 milliseconds