Home | History | Annotate | Download | only in nuplayer

Lines Matching defs:delayUs

482                 int64_t delayUs =
486 delayUs /= mPlaybackRate;
491 delayUs /= 2;
495 ALOGD_IF(delayUs > maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld",
496 (long long)delayUs, (long long)maxDrainDelayUs);
498 postDrainAudioQueue_l(delayUs);
683 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) {
695 if (diffUs > delayUs) {
696 delayUs = diffUs;
703 msg->post(delayUs);
1135 int64_t delayUs;
1174 delayUs = realTimeUs - nowUs;
1176 if (delayUs > 500000) {
1194 (int)(delayUs / 1000), (int)(postDelayUs / 1000));
1203 delayUs = realTimeUs - nowUs;
1205 ALOGW_IF(delayUs > 500000, "unusually high delayUs: %" PRId64, delayUs);
1207 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0);
1306 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) {
1307 if (audio && delayUs > 0) {
1311 msg->post(delayUs);
1318 notify->post(delayUs);
1518 const int delayUs = 2 * 50 * 1000; // (2 full mixer thread cycles at 50ms)
1519 mPauseDrainAudioAllowedUs = ALooper::GetNowUs() + delayUs;