Commit b01a62fb authored by Shikha Shetgeri's avatar Shikha Shetgeri
Browse files

address review comments - 2

parent 32f030f1
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5046,6 +5046,10 @@ void ivas_binaural_hrtf_close(
    HRTFS_FASTCONV_HANDLE *hHrtfFastConv                        /* i/o: decoder binaural hrtf handle                */
);

ivas_error ivas_init_binaural_hrtf(
  HRTFS_FASTCONV *HrtfFastConv                               /* i/o: FASTCONV HRTF structure */
);

ivas_error ivas_allocate_binaural_hrtf(
    HRTFS_FASTCONV *HrtfFastConv,                               /* i/o: FASTCONV HRTF structure */
    AUDIO_CONFIG input_config,                                  /* i  : input audio configuration */
+151 −232

File changed.

Preview size limit exceeded, changes collapsed.

+0 −2
Original line number Diff line number Diff line
@@ -1379,9 +1379,7 @@ typedef struct ivas_hrtfs_fastconv_struct
    float ***rightHRIRImag_FOA;
    float FASTCONV_FOA_latency_s;

    BINAURAL_INPUT_AUDIO_CONFIG input_cfg_var;
    int16_t allocate_init_flag; /*Memory allocation flag 0: if the hrtf pointers are allocated at application level , 1: of allocated at ivas_binaural_hrtf_open() */
    int16_t nChannels;          /*Number of channels updated based on maximum of cicp table*/
#else
#ifdef UPDATE_FASTCONV_SBA_FILTER
    float leftHRIRReal_HOA3[BINAURAL_CONVBANDS][HOA3_CHANNELS][BINAURAL_NTAPS_SBA];
+0 −1
Original line number Diff line number Diff line
@@ -1057,7 +1057,6 @@ static ivas_error create_fastconv_HRTF_from_rawdata(
    int16_t i, j;
    char *hrtf_data_rptr;
#ifdef FIX_1720_HRTF_FASTCONV
    ( *hHRTF )->input_cfg_var = input_cfg;
    ( *hHRTF )->allocate_init_flag = 0;
    ivas_allocate_binaural_hrtf( *hHRTF, 0, input_cfg, rend_type, ( *hHRTF )->allocate_init_flag );
#endif