Searched refs:waitCount (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java236 int waitCount = 0;
249 waitCount++;
250 if (waitCount == PREP_TIMEOUT_REPEAT) {
265 int waitCount = 0;
267 if (waitCount == NEWFRAME_TIMEOUT_REPEAT) {
282 waitCount++;
H A DCameraSource.java176 int waitCount = 0;
178 if (waitCount == NEWFRAME_TIMEOUT_REPEAT) {
/frameworks/av/include/media/
H A DAudioRecord.h322 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount);
H A DAudioTrack.h421 * Interpretation of waitCount:
432 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp499 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
506 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
522 if (CC_UNLIKELY(!waitCount)) {
560 if (--waitCount == 0) {
H A DAudioTrack.cpp937 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) argument
944 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
967 if (CC_UNLIKELY(!waitCount)) {
1011 if (--waitCount == 0) {
1247 // See description of waitCount parameter at declaration of obtainBuffer().
1250 int32_t waitCount = -1; local
1252 waitCount = 1;
1259 status_t err = obtainBuffer(&audioBuffer, waitCount);

Completed in 79 milliseconds