Loading apps/renderer.c +9 −1 Original line number Diff line number Diff line Loading @@ -2019,7 +2019,11 @@ int main( if ( audioWriter != NULL ) { #endif #ifdef FIX_REND_DELAY_COMP if ( delayNumSamples < frameSize_smpls ) #else if ( delayNumSamples < outBufferSize ) #endif { if ( AudioFileWriter_write( audioWriter, &outInt16Buffer[delayNumSamples * num_out_channels], outBufferSize - ( delayNumSamples * num_out_channels ) ) != IVAS_ERR_OK ) { Loading @@ -2030,7 +2034,11 @@ int main( } else { #ifdef FIX_REND_DELAY_COMP delayNumSamples -= (int16_t) frameSize_smpls; #else delayNumSamples -= (int16_t) outBufferSize; #endif } #ifdef SPLIT_REND_WITH_HEAD_ROT } Loading lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ #ifdef API_5MS #define API_5MS_BASELINE /* FhG: baseline with 20ms rendering and split rendering through 20ms branch */ #endif #define FIX_REND_DELAY_COMP /* FhG: fix delay compensation in renderer.c - Doesn't affect BE as the broken code was never executed on main */ #define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK #define FIX_CQMFPREDDEC_FREE /* FhG: avoid double free / free of NULL in DeletePredictionDecoder() */ // 5 ms branch switches end Loading Loading
apps/renderer.c +9 −1 Original line number Diff line number Diff line Loading @@ -2019,7 +2019,11 @@ int main( if ( audioWriter != NULL ) { #endif #ifdef FIX_REND_DELAY_COMP if ( delayNumSamples < frameSize_smpls ) #else if ( delayNumSamples < outBufferSize ) #endif { if ( AudioFileWriter_write( audioWriter, &outInt16Buffer[delayNumSamples * num_out_channels], outBufferSize - ( delayNumSamples * num_out_channels ) ) != IVAS_ERR_OK ) { Loading @@ -2030,7 +2034,11 @@ int main( } else { #ifdef FIX_REND_DELAY_COMP delayNumSamples -= (int16_t) frameSize_smpls; #else delayNumSamples -= (int16_t) outBufferSize; #endif } #ifdef SPLIT_REND_WITH_HEAD_ROT } Loading
lib_com/options.h +1 −0 Original line number Diff line number Diff line Loading @@ -172,6 +172,7 @@ #ifdef API_5MS #define API_5MS_BASELINE /* FhG: baseline with 20ms rendering and split rendering through 20ms branch */ #endif #define FIX_REND_DELAY_COMP /* FhG: fix delay compensation in renderer.c - Doesn't affect BE as the broken code was never executed on main */ #define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK #define FIX_CQMFPREDDEC_FREE /* FhG: avoid double free / free of NULL in DeletePredictionDecoder() */ // 5 ms branch switches end Loading