Decoder crash in OSBA (FOA) with BR switching due to bit error detection
Running
./IVAS_cod -ism_sba 1 1 NULL -max_band fb scripts/switchPaths/sw_13k2_512k.bin 48 ivas-pc-testfiles/ltv48_OSBA_1ISM_FOA.wav bit
./IVAS_dec MONO 48 bit out.wav
results in
==================================================================================================
IVAS Codec Baseline
Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021,
Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
==================================================================================================
Input bitstream file: bit
Output synthesis file: out.wav
Output sampling rate: 48000 Hz
Bitrate: 16.40 kbps
Input configuration: Scene Based Audio, Ambisonic order 0, 1 transport channel(s)
Output configuration: Mono
Render framesize: 20ms
------ Running the decoder ------
Frames processed: 2303 Assertion failed: (st->BER_detect != 1), function ivas_mdct_core_invQ, file lib_dec/ivas_mdct_core_dec.c, line 614.
Also, the decoder printout is wrong about the input configuration:
Input configuration: Scene Based Audio, Ambisonic order 0, 1 transport channel(s)
while the encoder says:
IVAS format: combined ISM and SBA (1 ISM stream(s))