Skip to content

MASA DTX bitrate switching on long test vector

Encoder in floating point crashes with:

IVAS_cod.exe -dtx -masa 2 ltv48_MASA2TC.met switchPaths\sw_13k2_512k.bin 48 ltv48_MASA2TC.wav tst.enc

At frame 107 the crash happens in acelp_core_enc.c at line 377 because st->hDtxEnc is NULL.

Comparing with the current floating point code, there are also other differences (e.g. last_core_brate value), so an alternative quick solution could be to ignore this test for the moment as @kiene suggested. I will leave today for holiday and be back on 22.07 when I could check more.