Searched refs:WAIT_PERIOD_MS (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/include/private/media/
H A DAudioTrackShared.h32 #define WAIT_PERIOD_MS 10 macro
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp481 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
631 status_t err = obtainBuffer(&audioBuffer, ((2 * MAX_RUN_TIMEOUT_MS) / WAIT_PERIOD_MS));
699 // limits wait time to WAIT_PERIOD_MS. This prevents from being
719 // still try to get more data in intervals of WAIT_PERIOD_MS
721 usleep(WAIT_PERIOD_MS*1000);
H A DAudioTrack.cpp950 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
1290 // still try to get more data in intervals of WAIT_PERIOD_MS
1292 usleep(WAIT_PERIOD_MS*1000);

Completed in 154 milliseconds