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

/frameworks/base/include/private/media/
H A DAudioTrackShared.h33 #define WAIT_PERIOD_MS 10 macro
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp445 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
559 status_t err = obtainBuffer(&audioBuffer, ((2 * MAX_RUN_TIMEOUT_MS) / WAIT_PERIOD_MS));
609 // limits wait time to WAIT_PERIOD_MS. This prevents from being
629 // still try to get more data in intervals of WAIT_PERIOD_MS
631 usleep(WAIT_PERIOD_MS*1000);
H A DAudioTrack.cpp667 uint32_t waitTimeMs = (waitCount < 0) ? cblk->bufferTimeoutMs : WAIT_PERIOD_MS;
877 // limits wait time to WAIT_PERIOD_MS. This prevents from being
904 // still try to get more data in intervals of WAIT_PERIOD_MS
906 usleep(WAIT_PERIOD_MS*1000);

Completed in 32 milliseconds