diff --git a/lib_rend/lib_rend.c b/lib_rend/lib_rend.c index d0be488f83b84f2b39ac0d7287f6e3c673db6473..5bf4cd4730ae613f192c97c843f107c11f404aea 100644 --- a/lib_rend/lib_rend.c +++ b/lib_rend/lib_rend.c @@ -1623,6 +1623,7 @@ static ivas_error setRendInputActiveIsm( for ( i = 0; i < (int16_t) ( sizeof( inputIsm->splitTdRendWrappers ) / sizeof( *inputIsm->splitTdRendWrappers ) ); ++i ) { + inputIsm->splitTdRendWrappers[i] = defaultTdRendWrapper(); inputIsm->splitTdRendWrappers[i].hHrtfTD = &hrtfs->hHrtfTD; } @@ -2641,6 +2642,7 @@ static ivas_error setRendInputActiveMc( for ( i = 0; i < (int16_t) ( sizeof( inputMc->splitTdRendWrappers ) / sizeof( *inputMc->splitTdRendWrappers ) ); ++i ) { + inputMc->splitTdRendWrappers[i] = defaultTdRendWrapper(); if ( hrtfs->hHrtfTD ) { inputMc->splitTdRendWrappers[i].binaural_latency_ns = (int32_t) ( hrtfs->hHrtfTD->latency_s * 1000000000.f );