Commit 0a1a5d2c authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix compile errors

parent 011d9869
Loading
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -4998,6 +4998,7 @@ static void getDirectPartGains_fx(
    HRTFS_PARAMBIN_HANDLE hHrtfParambin )
{
    // float aziRad, eleRad;
#if 0
    Word32 y, mappedX;
    Word16 aziRadMapped, A, A2, A3;
    const Word16 LsAngleRad = 17157; // Q15
@@ -5008,6 +5009,7 @@ static void getDirectPartGains_fx(

    ptr_sin = &sine_table_Q31[180]; // sin[x] = sine_table_Q31[180 + x]
    ptr_cos = cosine_table_Q31;
#endif

    IF( renderStereoOutputInsteadOfBinaural ) /* In stereo (i.e. non-binaural) rendering mode */
    {
@@ -5368,23 +5370,23 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx(
    int16_t bin, ch, inCh, outCh, ismDirIndex, slot, band_idx, bin_lo, bin_hi, max_band, n_ism;
    SPAT_PARAM_REND_COMMON_DATA_HANDLE hSpatParamRendCom;
    MASA_ISM_DATA_HANDLE hMasaIsmData;
#ifdef OBJ_EDITING_PARAMISM_BIN
    PARAM_ISM_DEC_HANDLE hParamIsmDec;
#endif
    PARAM_ISM_DEC_HANDLE hParamIsmDec = 0;
    int16_t nSlots;
#if 0
    uint8_t enableCentering;
    int16_t dirac_read_idx;
    int16_t nSlots;
    float panGainsOut[4][2];
    float panGainsIn[4][2];
    float panEnesOut[4][2];
    float panEnesIn[4][2];
#endif
    uint8_t ismGainEdited[4];
    uint8_t ismDirEdited[4];
    uint8_t masaGainEdited;
#if 0
    uint8_t masaIsmMode;
#endif

    *cldfb_buf_q = 0;
    hSpatParamRendCom = st_ivas->hSpatParamRendCom;
    hMasaIsmData = st_ivas->hMasaIsmData;
#if 0
@@ -5398,7 +5400,6 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx(
    {
        masaIsmMode = 0u;
    }
#endif

    if ( st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_FOA || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA2 || st_ivas->hDecoderConfig->output_config == IVAS_AUDIO_CONFIG_HOA3 )
    {
@@ -5408,6 +5409,7 @@ void ivas_omasa_preProcessStereoTransportsForEditedObjects_fx(
    {
        enableCentering = 1;
    }
#endif

#ifdef OBJ_EDITING_PARAMISM_BIN
    if ( st_ivas->ism_mode == ISM_MASA_MODE_DISC || st_ivas->ivas_format == ISM_FORMAT )