SBA decoder error with DTX at 80kbps SWB
Basic info
- Commit SHA: main, tested at 34c6b03f
- Platform: all
Bug description
Decoder halts with an error when decoding one of the soon-to-come longer testvectors:
Internal fatal error: Error, illegal bitrate (11400) in the G.192 frame ! Exiting !
In function: read_indices(), lib_com/bitstream.c:2057
Error: could not feed frame to decoder: internal error
Happens in all output formats.
Ways to reproduce
Get longer testvectors from the testfile repo:
git clone git@forge.3gpp.org:ivas-codec-pc/ivas-pc-testfiles.git
Run either
python3 ./scripts/runIvasCodec.py -p ~/your-config.json -m SBA_b80_dtx_swb_cbr -I ivas-pc-testfiles/testv/ltv48_HOA3.wav
or resample the file to 32kHz yourself and do
IVAS_cod -sba 3 -dtx -max_band swb 80000 32 ltv48_HOA3_32_SBA.pcm bs.192
IVAS_dec mono 32 bs.192 out.wav