Commit a3b7687d authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[cleanup] accept FIX_777_COMBI_RENDER_CONFIG_FILE

parent c4510ca6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@



#define FIX_777_COMBI_RENDER_CONFIG_FILE                /* Philips: Fix for combined renderer config file support */
#define NONBE_FIX_991_PARAMBIN_BINARY_HRTF              /* Nokia: issue #991: fix using of binary file HRTF in ParamBin (to activate when USE_NEW_HRTF_BINARY_FILE_FORMAT and FIX_777_COMBI_RENDER_CONFIG_FILE are on ) */

#define FIX_1741_REVERB_TIMES_Q_FORMAT                  /* Philips: reverberation times in Q26 format instead of Q31 */
+0 −8
Original line number Diff line number Diff line
@@ -2249,11 +2249,7 @@ ivas_error RenderConfigReader_read(
                    /* RT60 */
                    else if ( strcmp( item, "RT60" ) == 0 )
                    {
#ifdef FIX_777_COMBI_RENDER_CONFIG_FILE
                        if ( read_txt_vector( pValue, pRenderConfigReader->pAE[acIdx].pFG->nrBands, pRenderConfigReader->pAE[acIdx].pRT60 ) )
#else
                        if ( read_txt_vector( pValue, pRenderConfigReader->pFG[idx].nrBands, pRenderConfigReader->pAE[acIdx].pRT60 ) )
#endif
                        {
                            errorHandler( item, ERROR_VALUE_INVALID );
                            return IVAS_ERR_INVALID_RENDER_CONFIG;
@@ -2263,11 +2259,7 @@ ivas_error RenderConfigReader_read(
                    /* DSR */
                    else if ( strcmp( item, "DSR" ) == 0 )
                    {
#ifdef FIX_777_COMBI_RENDER_CONFIG_FILE
                        if ( read_txt_vector( pValue, pRenderConfigReader->pAE[acIdx].pFG->nrBands, pRenderConfigReader->pAE[acIdx].pDSR ) )
#else
                        if ( read_txt_vector( pValue, pRenderConfigReader->pFG[idx].nrBands, pRenderConfigReader->pAE[acIdx].pDSR ) )
#endif
                        {
                            errorHandler( item, ERROR_VALUE_INVALID );
                            return IVAS_ERR_INVALID_RENDER_CONFIG;