Skip to content

Crash in IVAS_rend when converting ISM2 to BINAURAL format

The ./IVAS_rend binary crashes both in Linux and Windows when converting ISM2 input with metadata to the BINAURAL format.

To reproduce:

./IVAS_rend -i test.wav -if ISM2 -im test_0.csv test_1.csv -o test_binaural.wav -of BINAURAL

The error:

API error: The sampling rate for the HR filter set does not match the output sampling rate.

In function: TDREND_MIX_Init(), ../../../lib_rend/ivas_objectRenderer_mix.c:245

Rendering...
Segmentation fault (core dumped)

test test_0.csv test_1.csv

The problem seems to be that hIvasRend->inputsIsm[i].crendWrapper is NULL in IVAS_REND_GetDelay().