Commit 3d1657e2 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix compilation with switch deactivated

parent e858b5eb
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -333,11 +333,19 @@ void stereo_decoder_tcx(

            if ( ( nrgRatio > 1.0f ) && ( k < ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) ) )
            {
#ifdef FIX_TCX10_STEREO_PROC
                v_multc( spec_r[k], nrgRatio, spec_r[k], L_frameTCX_r );
#else
                v_multc( spec_r[k], nrgRatio, spec_r[k], L_frame / ( ( core_r == TCX_20_CORE ) ? 1 : NB_DIV ) );
#endif
            }
            else if ( ( nrgRatio < 1.0f ) && ( k < ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) ) )
            {
#ifdef FIX_TCX10_STEREO_PROC
                v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frameTCX_l );
#else
                v_multc( spec_l[k], 1.0f / nrgRatio, spec_l[k], L_frame / ( ( core_l == TCX_20_CORE ) ? 1 : NB_DIV ) );
#endif
            }
        }
    } /* for k */