Lines Matching refs:delayUs
605 int64_t delayUs = in onMessageReceived() local
609 delayUs /= mPlaybackRate; in onMessageReceived()
614 delayUs /= 2; in onMessageReceived()
618 ALOGD_IF(delayUs > maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld", in onMessageReceived()
619 (long long)delayUs, (long long)maxDrainDelayUs); in onMessageReceived()
621 postDrainAudioQueue_l(delayUs); in onMessageReceived()
811 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) { in postDrainAudioQueue_l() argument
823 if (diffUs > delayUs) { in postDrainAudioQueue_l()
824 delayUs = diffUs; in postDrainAudioQueue_l()
831 msg->post(delayUs); in postDrainAudioQueue_l()
1316 int64_t delayUs = realTimeUs - nowUs; in postDrainVideoQueue() local
1318 ALOGW_IF(delayUs > 500000, "unusually high delayUs: %lld", (long long)delayUs); in postDrainVideoQueue()
1320 msg->post(delayUs > twoVsyncsUs ? delayUs - twoVsyncsUs : 0); in postDrainVideoQueue()
1448 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1450 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1453 void NuPlayer::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1454 if (audio && delayUs > 0) { in notifyEOS_l()
1458 msg->post(delayUs); in notifyEOS_l()
1465 notify->post(delayUs); in notifyEOS_l()