Skip to content

Reduction of FastConv and ParamBin data in HRTF binary file

This is a follow-up to #1228 (comment 56596).

FastConv and ParamBin data stored in HRTF binary files are samplerate independent and always stored as 48 kHz. This is however not optimal and there is a possibility to reduce the size of ivas_binaural_16kHz.bin and ivas_binaural_32kHz.bin for which the higher frequencies do not need to be stored.

The reduction would involve changes to:

  • file generation scripts and loading mechanism
  • FastConv and ParamBin handles and allocate the individual buffers memory size based on the actual number of bins
  • reintroduce a sampling rate check (see !1886 (b0b95b90) and !1886 (b0b95b90))