Skip to content

OSBA renderers memory issue in bitrate switching

When rendering OSBA format in bitrate switching, the allocation/deallocation of static RAM handles—at least those for binaural renderers—is missing when OSBA mode changes. Consequently, unnecessary RAM usage occurs, which should be optimized.

Example command-line:

ivas_cod.exe -ism_sba 1 1 scripts/testv/stvISM1.csv scripts/switchPaths/sw_13k2_512k.bin 48 scripts/testv/stvOSBA_1ISM_FOA48c.wav bit
ivas_dec.exe BINAURAL 48 bit syn
bitrate mode binaural renderer allocated
32000 pre-rend Param
512000 disc FastConv + TD
switching pre-rend / disc Param + FastConv + TD

The related handles are:

st_ivas->hBinRendererTd
st_ivas->hHrtfFastConv
st_ivas->hHrtfParambin

Note: the bug was discovered in the course of !1804 (merged).

Edited by vaclav