Commit b0e7b682 authored by fotopoulou's avatar fotopoulou
Browse files

correct constants add BASOP operators

parent 21ac6fe5
Loading
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1926,15 +1926,18 @@ void ivas_param_ism_dec_render_fx(
        FOR( ch = 0; ch < st_ivas->nchan_ism; ch++ )
        {
#ifdef OBJ_EDITING_API
            if ( st_ivas->hParamIsmDec->azimuth_values_fx[ch] > 755827200 ) /*180 in Q22*/
            IF( GT_32( st_ivas->hParamIsmDec->azimuth_values_fx[ch], 754974720 ) /*180.f in Q22*/ )
            {
                st_ivas->hIsmMetaData[ch]->azimuth_fx = st_ivas->hParamIsmDec->edited_azimuth_values_fx[ch] - 1513500160; /* 360 in Q22 */
                st_ivas->hIsmMetaData[ch]->azimuth_fx = L_sub( st_ivas->hParamIsmDec->edited_azimuth_values_fx[ch], 1509949440 ) /*360.0F in Q22*/;
                move32();
            }
            else
            ELSE
            {
                st_ivas->hIsmMetaData[ch]->azimuth_fx = st_ivas->hParamIsmDec->edited_azimuth_values_fx[ch];
                move32();
            }
            st_ivas->hIsmMetaData[ch]->elevation_fx = st_ivas->hParamIsmDec->edited_elevation_values_fx[ch];
            move32();
#else
            IF( GT_32( st_ivas->hParamIsmDec->azimuth_values_fx[ch], 754974720 ) /*180.f in Q22*/ )
            {