Commit b58f62ff authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2594: creating the switch and fixing the false comments

parent 6dd0ecbe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@
#define HARMONIZE_2553_TonalConceal_Init                /* FhG: Harmonize TonalMDCTConceal_Init with its ivas derivate */
#define HARMONIZE_2553_TonalConceal_SaveFreqSignal      /* FhG: Harmonize TonalConceal_SaveFreqSignal with its ivas derivate */
#define HARMONIZE_2553_TonalConceal_SaveTimeSignal      /* FhG: Harmonize TonalConceal_SaveTimeSignal with its ivas derivate */
#define FIX_ISSUE_2594_FALSE_COMMENT                    /* FhG: basop issue 2594: fixing false comments about Q value*/

/* #################### End BE switches ################################## */

+9 −0
Original line number Diff line number Diff line
@@ -436,11 +436,20 @@ void stereo_tca_scale_R_channel_fx(
            move32();
            BREAK;
        case 32000:
#ifndef FIX_ISSUE_2594_FALSE_COMMENT
            winSlope_fx = 13421773; // 0.00625 in Q30
#else
            winSlope_fx = 13421773; // 0.00625 in Q31
#endif // !FIX_ISSUE_2594_FALSE_COMMENT            
            move32();
            BREAK;
        case 48000:
#ifndef FIX_ISSUE_2594_FALSE_COMMENT
            winSlope_fx = 8947849; // 0.00416 in Q30
#else
            winSlope_fx = 8947849; // 0.00416 in Q31
#endif // !FIX_ISSUE_2594_FALSE_COMMENT
            
            move32();
            BREAK;
    }