Commit 75d6a4cd authored by Devansh Kandpal's avatar Devansh Kandpal
Browse files

fixed definitions of type Word32

parent d8e0abcc
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1152,8 +1152,8 @@ ivas_error ivas_reverb_prepare_cldfb_params(
    const IVAS_ROOM_ACOUSTICS_CONFIG_DATA *pInput_params,
    const HRTFS_STATISTICS_HANDLE hHrtfStatistics,
    const int32_t output_Fs,
    float *pOutput_t60,
    float *pOutput_ene );
    Word32 *pOutput_t60,
    Word32 *pOutput_ene );
#else
ivas_error ivas_reverb_prepare_cldfb_params(
    IVAS_ROOM_ACOUSTICS_CONFIG_DATA *pInput_params,
+10 −10
Original line number Diff line number Diff line
@@ -2480,20 +2480,20 @@ static ivas_error ivas_binaural_reverb_open_fx(
ivas_error ivas_binaural_reverb_init(
    REVERB_STRUCT_HANDLE *hReverbPr,                      /* i/o: binaural reverb handle               */
    const HRTFS_STATISTICS_HANDLE hHrtfStatistics,        /* i  : HRTF statistics handle               */
    const int16_t numBins,                                /* i  : number of CLDFB bins                 */
    const int16_t numCldfbSlotsPerFrame,                  /* i  : number of CLDFB slots per frame      */
    const Word16 numBins,                                /* i  : number of CLDFB bins                 */
    const Word16 numCldfbSlotsPerFrame,                  /* i  : number of CLDFB slots per frame      */
    const IVAS_ROOM_ACOUSTICS_CONFIG_DATA *roomAcoustics, /* i/o: room acoustics parameters            */
    const int32_t sampling_rate,                          /* i  : sampling rate                        */
    const float *defaultTimes,                            /* i  : default reverberation times          */
    const float *defaultEne                               /* i  : default reverberation energies       */
    const Word32 sampling_rate,                          /* i  : sampling rate                        */
    const Word32 *defaultTimes,                            /* i  : default reverberation times          */
    const Word32 *defaultEne                               /* i  : default reverberation energies       */
)
{
    ivas_error error;
    const float *revTimes;
    const float *revEne;
    float t60[CLDFB_NO_CHANNELS_MAX];
    float ene[CLDFB_NO_CHANNELS_MAX];
    int16_t preDelay;
    const Word32 *revTimes;
    const Word32 *revEne;
    Word32 t60[CLDFB_NO_CHANNELS_MAX];
    Word32 ene[CLDFB_NO_CHANNELS_MAX];
    Word16 preDelay;

    error = IVAS_ERR_OK;

+0 −2
Original line number Diff line number Diff line
@@ -330,8 +330,6 @@ static ivas_error ivas_reverb_get_fastconv_hrtf_set_energies(
#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES

    Word32 *input_fc_fx = (Word32 *) malloc( 60 * sizeof( Word32 * ) );
    Word32 *avg_pwr_left_fft_fx = (Word32 *) malloc( 60 * sizeof( Word32 * ) );
    Word32 *avg_pwr_right_fft_fx = (Word32 *) malloc( 60 * sizeof( Word32 * ) );

    Word32 *output_fc_fx = (Word32 *) malloc( 257 * sizeof( Word32 * ) );
    Word32 *avg_pwr_left_fx = (Word32 *) malloc( 257 * sizeof( Word32 * ) );