Lines Matching refs:delayUs
585 int64_t delayUs = in onMessageReceived() local
589 delayUs /= mPlaybackRate; in onMessageReceived()
594 delayUs /= 2; in onMessageReceived()
598 ALOGD_IF(delayUs > maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld", in onMessageReceived()
599 (long long)delayUs, (long long)maxDrainDelayUs); in onMessageReceived()
601 postDrainAudioQueue_l(delayUs); in onMessageReceived()
786 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) { in postDrainAudioQueue_l() argument
798 if (diffUs > delayUs) { in postDrainAudioQueue_l()
799 delayUs = diffUs; in postDrainAudioQueue_l()
806 msg->post(delayUs); in postDrainAudioQueue_l()
1286 int64_t delayUs = realTimeUs - nowUs; in postDrainVideoQueue() local
1288 ALOGW_IF(delayUs > 500000, "unusually high delayUs: %lld", (long long)delayUs); in postDrainVideoQueue()
1290 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0); in postDrainVideoQueue()
1418 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1420 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1423 void NuPlayer::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1424 if (audio && delayUs > 0) { in notifyEOS_l()
1428 msg->post(delayUs); in notifyEOS_l()
1435 notify->post(delayUs); in notifyEOS_l()