Lines Matching refs:tempDelay
255 int tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays() local
259 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()
285 (tempDelay + hDel->config.nFrameLen - 1) / hDel->config.nFrameLen; in fdk_sacenc_delay_SubCalulateBufferDelays()
287 hDel->nDiscardOutFrames * hDel->config.nFrameLen - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()
363 int tempDelay = hDel->config.nArbDmxDelay + hDel->nOutputAudioBuffer + in fdk_sacenc_delay_SubCalulateBufferDelays() local
367 (tempDelay + hDel->config.nFrameLen - 1) / hDel->config.nFrameLen; in fdk_sacenc_delay_SubCalulateBufferDelays()
369 hDel->nDiscardOutFrames * hDel->config.nFrameLen - tempDelay; in fdk_sacenc_delay_SubCalulateBufferDelays()