Commit 5c02eac4 authored by sagnowski's avatar sagnowski
Browse files

Remove unused parameters

parent d6374e5b
Loading
Loading
Loading
Loading
+30 −7
Original line number Diff line number Diff line
@@ -495,8 +495,12 @@ static ivas_error getRendInputNumChannels(
static ivas_error updateSplitPostRendPanGains(
    input_split_post_rend *inputSplitPostRend,
    const AUDIO_CONFIG outConfig,
    ISAR_SPLIT_REND_CONFIG_DATA *hRendCfg,
    int16_t num_subframes )
    ISAR_SPLIT_REND_CONFIG_DATA *hRendCfg
#ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS
    ,
    int16_t num_subframes
#endif
)
{
    ivas_error error;
    rendering_context rendCtx;
@@ -577,8 +581,12 @@ static ivas_error setRendInputActiveSplitPostRend(
    void *input,
    const AUDIO_CONFIG inConfig,
    const IVAS_REND_InputId id,
    ISAR_SPLIT_REND_CONFIG_DATA *hRendCfg,
    const int16_t num_subframes )
    ISAR_SPLIT_REND_CONFIG_DATA *hRendCfg
#ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS
    ,
    const int16_t num_subframes
#endif
)
{
    ivas_error error;
    rendering_context rendCtx;
@@ -597,7 +605,12 @@ static ivas_error setRendInputActiveSplitPostRend(
    initRendInputBase( &inputSplitPostRend->base, inConfig, id, rendCtx, inputSplitPostRend->bufferData, MAX_CLDFB_BIN_BUFFER_LENGTH );
    inputSplitPostRend->numCachedSamples = 0;

    if ( ( error = updateSplitPostRendPanGains( inputSplitPostRend, outConfig, hRendCfg, num_subframes ) ) != IVAS_ERR_OK )
    if ( ( error = updateSplitPostRendPanGains( inputSplitPostRend, outConfig, hRendCfg
#ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS
                                                ,
                                                num_subframes
#endif
                                                ) ) != IVAS_ERR_OK )
    {
        return error;
    }
@@ -932,7 +945,12 @@ ivas_error ISAR_POST_REND_AddInput(
    int32_t maxNumInputsOfType;
    void *inputsArray;
    int32_t inputStructSize;
    ivas_error ( *activateInput )( void *, AUDIO_CONFIG, IVAS_REND_InputId, ISAR_SPLIT_REND_CONFIG_DATA *, int16_t );
    ivas_error ( *activateInput )( void *, AUDIO_CONFIG, IVAS_REND_InputId, ISAR_SPLIT_REND_CONFIG_DATA *
#ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS
                                   ,
                                   int16_t
#endif
    );
    int32_t inputIndex;

    /* Validate function arguments */
@@ -960,7 +978,12 @@ ivas_error ISAR_POST_REND_AddInput(
    }

    *inputId = makeInputId( inConfig, inputIndex );
    if ( ( error = activateInput( (uint8_t *) inputsArray + inputStructSize * inputIndex, inConfig, *inputId, &hIvasRend->splitRenderConfig, hIvasRend->num_subframes ) ) != IVAS_ERR_OK )
    if ( ( error = activateInput( (uint8_t *) inputsArray + inputStructSize * inputIndex, inConfig, *inputId, &hIvasRend->splitRenderConfig
#ifndef ISAR_BITSTREAM_UPDATE_LC3PLUS
                                  ,
                                  hIvasRend->num_subframes
#endif
                                  ) ) != IVAS_ERR_OK )
    {
        return error;
    }