Skip to content

Decoder format switching issues

There seems to be issues around the function restartDecoder() in the decoder switching feature:

  1. In restartDecoder(), there is a code which looks like it will cause problems with EVS mono rendered to other output configs than mono:
IVAS_AUDIO_CONFIG outputConfig = ( decMode == IVAS_DEC_MODE_IVAS ) ? arg->outputConfig : IVAS_AUDIO_CONFIG_MONO;

if ( ( error = IVAS_DEC_Configure( ... ) ) != IVAS_ERR_OK )

Shouldn't the command with outputConfig assignment be removed?

  1. The function restartDecoder() is called with the 4th parameter being renderConfig in one occurrence but with NULL at the other one. It looks inconsistently and the parameter seems to be missing at the second instance.

  2. The LS custom config output is not implemented yet, see the comment /* ToDo : Provide LS Custom Data */ when calling the function restartDecoder().