HomeSort by relevance Sort by last modified time
    Searched defs:delayUs (Results 1 - 2 of 2) sorted by null

  /frameworks/base/media/libstagefright/foundation/
ALooper.cpp 146 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) {
150 if (delayUs > 0) {
151 whenUs = GetNowUs() + delayUs;
188 int64_t delayUs = whenUs - nowUs;
189 mQueueChangedCondition.waitRelative(mLock, delayUs * 1000ll);
  /system/media/opensles/libopensles/
android_SfPlayer.cpp 655 int64_t delayUs = mLastDecodedPositionUs + mTimeDelta - ALooper::GetNowUs()
662 delayUs = RENDER_SAFETY_DELAY_US;
663 //SL_LOGV("delayUs=%lld new", delayUs);
666 // FIXME clicks can be observed if solely relying on delayUs, this is a safe compromise
667 msg->post(delayUs > RENDER_SAFETY_DELAY_US ? RENDER_SAFETY_DELAY_US : delayUs);
668 //msg->post(delayUs); // negative delays are ignored
669 //SL_LOGV("timeUs=%lld, mTimeDelta=%lld, delayUs=%lld",
670 // mLastDecodedPositionUs, mTimeDelta, delayUs);
    [all...]

Completed in 902 milliseconds