Commit 0f3f2f91 authored by vaclav's avatar vaclav
Browse files

data type change: int -> int16_t

parent e1d9a3b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -819,14 +819,14 @@ static ivas_error ivas_spar_enc_process(
    if ( hSpar->hPCA != NULL )
    {
#ifdef SPAR_SCALING_HARMONIZATION
        for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ )
        for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ )
        {
            v_multc( p_pcm_tmp[out_ch], MDFT_NORM_SCALING, p_pcm_tmp[out_ch], input_frame );
        }
#endif
        ivas_pca_enc( hEncoderConfig, hSpar->hPCA, hMetaData, p_pcm_tmp, input_frame, FOA_CHANNELS );
#ifdef SPAR_SCALING_HARMONIZATION
        for ( int out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ )
        for ( int16_t out_ch = 0; out_ch < FOA_CHANNELS; out_ch++ )
        {
            v_multc( p_pcm_tmp[out_ch], PCM16_TO_FLT_FAC, p_pcm_tmp[out_ch], input_frame );
        }