Searched refs:tempDelay (Results 1 – 2 of 2) sorted by relevance
255 int tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays() local259 tempDelay = nEncoderSynDelay + hDel->config.nLimiterDelay + in fdk_sacenc_delay_SubCalulateBufferDelays()262 tempDelay = (nResidualCoderFrameDelay * hDel->config.nFrameLen) + in fdk_sacenc_delay_SubCalulateBufferDelays()263 hDel->config.nSacStreamMuxDelay - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()265 if (tempDelay > 0) { in fdk_sacenc_delay_SubCalulateBufferDelays()267 hDel->nOutputAudioBuffer = tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()269 tempDelay = -tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()271 (tempDelay + hDel->config.nFrameLen - 1) / hDel->config.nFrameLen; in fdk_sacenc_delay_SubCalulateBufferDelays()273 (hDel->nBitstreamFrameBuffer * hDel->config.nFrameLen) - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()281 tempDelay = nEncoderWinDelay + nEncoderAnDelay + nEncoderSynDelay + in fdk_sacenc_delay_SubCalulateBufferDelays()[all …]
542 var tempDelay time.Duration // how long to sleep on accept failure550 if tempDelay == 0 {551 tempDelay = 5 * time.Millisecond553 tempDelay *= 2555 if max := 1 * time.Second; tempDelay > max {556 tempDelay = max559 s.printf("Accept error: %v; retrying in %v", err, tempDelay)561 timer := time.NewTimer(tempDelay)581 tempDelay = 0