Skip to content

dpid 0 used irrespective of the specified one for ISM1

Basic info

  • Commit SHA: 9b4bfb1a
  • Platform: Windows

Bug description

A render_config file containing multiple directivity patterns may be provided to the decoder accompanied with -dpid <id> to specify the index of the directivity pattern to use. For ISM 1, this does not work as expected and index 0 is used irrespective of the specified directivity pattern.

Ways to reproduce

.\IVAS_cod.exe -ism +1 .\scripts\testv\stvISM1.csv 64000 48 .\scripts\testv\stv1ISM48s.wav bit
.\IVAS_dec.exe -render_config .\scripts\testv\config_directivity_txt.cfg -dpid 2 BINAURAL 48 bit out_dpid_2.wav
.\IVAS_dec.exe -render_config .\scripts\testv\config_directivity_txt.cfg -dpid 0 BINAURAL 48 bit out_dpid_0.wav

The outputs are identical and both use directivity pattern index 0.

Edited by kinuthia