Loading lib_com/delay_comp.c +2 −2 Original line number Diff line number Diff line Loading @@ -96,9 +96,9 @@ int32_t get_delay( delay = IVAS_DEC_DELAY_NS; #ifdef REVIEW_ORANGE // same fix as in main branch if ( hCldfb != NULL || renderer_type == RENDERER_BINAURAL_OBJECTS_TD ) #else if ( hCldfb != NULL ) #else if ( hCldfb != NULL || renderer_type == RENDERER_BINAURAL_OBJECTS_TD ) #endif { delay += IVAS_FB_DEC_DELAY_NS; Loading lib_dec/lib_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -1055,7 +1055,11 @@ ivas_error IVAS_DEC_GetDelay( st_ivas = hIvasDec->st_ivas; hDecoderConfig = st_ivas->hDecoderConfig; #ifdef REVIEW_ORANGE // like in main branch needed to illustrate no zero binaural latency value *nSamples = (int16_t) roundf( (float) get_delay( DEC, hDecoderConfig->output_Fs, st_ivas->ivas_format, st_ivas->cldfbAnaDec[0], st_ivas->renderer_type, st_ivas->binaural_latency_ns ) * hDecoderConfig->output_Fs / 1000000000.f ); #else *nSamples = NS2SA( hDecoderConfig->output_Fs, get_delay( DEC, hDecoderConfig->output_Fs, st_ivas->ivas_format, st_ivas->cldfbAnaDec[0], st_ivas->renderer_type, st_ivas->binaural_latency_ns ) ); #endif *timeScale = hDecoderConfig->output_Fs; Loading Loading
lib_com/delay_comp.c +2 −2 Original line number Diff line number Diff line Loading @@ -96,9 +96,9 @@ int32_t get_delay( delay = IVAS_DEC_DELAY_NS; #ifdef REVIEW_ORANGE // same fix as in main branch if ( hCldfb != NULL || renderer_type == RENDERER_BINAURAL_OBJECTS_TD ) #else if ( hCldfb != NULL ) #else if ( hCldfb != NULL || renderer_type == RENDERER_BINAURAL_OBJECTS_TD ) #endif { delay += IVAS_FB_DEC_DELAY_NS; Loading
lib_dec/lib_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -1055,7 +1055,11 @@ ivas_error IVAS_DEC_GetDelay( st_ivas = hIvasDec->st_ivas; hDecoderConfig = st_ivas->hDecoderConfig; #ifdef REVIEW_ORANGE // like in main branch needed to illustrate no zero binaural latency value *nSamples = (int16_t) roundf( (float) get_delay( DEC, hDecoderConfig->output_Fs, st_ivas->ivas_format, st_ivas->cldfbAnaDec[0], st_ivas->renderer_type, st_ivas->binaural_latency_ns ) * hDecoderConfig->output_Fs / 1000000000.f ); #else *nSamples = NS2SA( hDecoderConfig->output_Fs, get_delay( DEC, hDecoderConfig->output_Fs, st_ivas->ivas_format, st_ivas->cldfbAnaDec[0], st_ivas->renderer_type, st_ivas->binaural_latency_ns ) ); #endif *timeScale = hDecoderConfig->output_Fs; Loading