Commit ead05636 authored by norvell's avatar norvell
Browse files

Clean out unused variables in FIX_198_TDREND_INTERFACE

parent a55c9e62
Loading
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -877,12 +877,14 @@ ivas_error ivas_rend_TDObjRenderFrame(
    float output[][L_FRAME48k]                       /* i/o: SCE channels / Binaural synthesis */
)
{
    int16_t subframe_length;
#ifndef FIX_198_TDREND_INTERFACE
    int16_t subframe_length;
    int16_t subframe_idx;
#endif
    ISM_METADATA_HANDLE hIsmMetaData[1];
#ifndef FIX_198_TDREND_INTERFACE
    int16_t lfe_idx;
#endif
    int16_t num_src;
    /* TODO tmu : pass down renderer config struct */
    // float reverb_signal[BINAURAL_CHANNELS][L_FRAME48k];
@@ -896,7 +898,9 @@ ivas_error ivas_rend_TDObjRenderFrame(
    push_wmops( "ivas_rend_TDObjRenderFrame" );

    inConfigType = getAudioConfigType( inConfig );
#ifndef FIX_198_TDREND_INTERFACE
    lfe_idx = LFE_CHANNEL;
#endif
    if ( inConfigType == IVAS_REND_AUDIO_CONFIG_TYPE_CHANNEL_BASED )
    {
        ivas_format = MC_FORMAT;
@@ -906,7 +910,9 @@ ivas_error ivas_rend_TDObjRenderFrame(
        }
        else
        {
#ifndef FIX_198_TDREND_INTERFACE
            lfe_idx = ( customLsInput->num_lfe > 0 ) ? customLsInput->lfe_idx[0] : -1;
#endif
            num_src = customLsInput->num_spk + customLsInput->num_lfe;
        }
    }
@@ -919,7 +925,9 @@ ivas_error ivas_rend_TDObjRenderFrame(
        hIsmMetaData[0]->elevation = currentPos->elevation;
    }

#ifndef FIX_198_TDREND_INTERFACE
    subframe_length = output_frame / MAX_PARAM_SPATIAL_SUBFRAMES;
#endif

#ifdef FIX_198_TDREND_INTERFACE
    transport_config = getIvasAudioConfigFromRendAudioConfig( inConfig );