Searched refs:waitTimeUs (Results 1 – 3 of 3) sorted by relevance
111 - waitTimeUs : 视频帧相对于音频帧延迟时间。125 int64_t waitTimeUs = videoPlayedTime - audioPlayedTime;136 if (waitTimeUs < WAIT_TIME_US_THRESHOLD_WARNING) {141 AVCODEC_SAMPLE_LOGE("VD buffer is too early waitTimeUs: %{public}ld", waitTimeUs);142 // [0, ), render it with waitTimeUs, max 1s144 if (waitTimeUs > WAIT_TIME_US_THRESHOLD) {145 waitTimeUs = WAIT_TIME_US_THRESHOLD;149 waitTimeUs = sampleInfo.frameInterval + PER_SINK_TIME_THRESHOLD;150 …VCODEC_SAMPLE_LOGE("VD buffer is too early and reduced 33ms, waitTimeUs: %{public}ld", waitTimeUs);158 if (waitTimeUs > 0) {[all …]
164 int64_t waitTimeUs = 0; in CheckBufferLatenessMayWait() local191 waitTimeUs = 0 - diff; in CheckBufferLatenessMayWait()192 MEDIA_LOG_I_FALSE_D((waitTimeUs >= WAIT_TIME_US_THRESHOLD_WARNING), in CheckBufferLatenessMayWait()193 "buffer is too early waitTimeUs: " PUBLIC_LOG_D64, waitTimeUs); in CheckBufferLatenessMayWait()194 if (waitTimeUs > WAIT_TIME_US_THRESHOLD) { in CheckBufferLatenessMayWait()195 waitTimeUs = WAIT_TIME_US_THRESHOLD; in CheckBufferLatenessMayWait()203 return dropFlag ? -1 : waitTimeUs; in CheckBufferLatenessMayWait()
1670 uint32_t waitTimeUs = bufferSize * 10e6 / (samplingRate * channels * samplePerFrame); in WriteInner() local1671 AUDIO_ERR_LOG("server is died! wait %{public}d us", waitTimeUs); in WriteInner()1672 usleep(waitTimeUs); in WriteInner()