TD renderer directivity unintentionally reset
When rendering ISM with extended metadata, the directivity pattern is unintentionally reset in ivas_objectRenderer.c
. This practically disables the directivity feature. This was tested at an earlier stage, so the bug must have appeared when preparing the final contribution. The fix is just to remove the unintentional reset, consisting of these three lines in ivas_objectRenderer.c
/* Source directivity info */
DirAtten_p->ConeInnerAngle = 360.0f;
DirAtten_p->ConeOuterAngle = 360.0f;
DirAtten_p->ConeOuterGain = 1.0f;
The fix does not affect the selection test processing.
A spinning noise source in front, without fix
Same source with unintentional reset removed
Command lines to reproduce
IVAS_cod.exe -ism +1 md_spin.csv 64000 48 noise48.raw tmp.bs
IVAS_dec.exe -render_config config_directivity.cfg BINAURAL 48 tmp.bs out.wav