Commit 0a5e6a0c authored by Devansh Kandpal's avatar Devansh Kandpal
Browse files

Changes in hrtf file reader header in util

parent 92461747
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
@@ -102,7 +102,12 @@ ivas_error load_HRTF_binary(
 *---------------------------------------------------------------------*/

ivas_error load_reverb_binary(
#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES
    IVAS_DEC_HRTF_STATISTICS_HANDLE hHrtfStatistics, /* i/o: HRTF statistics handle              */
    int32_t sampleRate,                              /* i  : sample rate                         */
#else
    IVAS_DEC_HRTF_HANDLE hHrtf, /* i/o: HRTF handle                         */
#endif
    const hrtfFileReader *hrtfReader /* i/o: pointer to hrtfFileReader handle    */
);
#endif
@@ -200,4 +205,17 @@ void destroy_td_hrtf(
    IVAS_DEC_HRTF_HANDLE *hHRTF /* i/o: HRTF handle */
);

#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES
/*---------------------------------------------------------------------*
 * destroy_hrtf_statistics()
 *
 * free memory allocated for HRTF statistics binary data
 *---------------------------------------------------------------------*/

ivas_error destroy_hrtf_statistics(
    IVAS_DEC_HRTF_STATISTICS_HANDLE *hHrtfStatistics /* i/o: HRTF statistics handle  */
);
#endif


#endif /* IVAS_HRTF_FILE_READER_H */