Commit 3e5eba5e authored by emerit's avatar emerit
Browse files

fix issues on mac linux

parent ec1f3d2a
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1310,7 +1310,6 @@ static ivas_error create_fastconv_HRTF_from_rawdata(
    char *hrtf_data_rptr;
    ivas_error error;


    ( *hHRTF )->allocate_init_flag = 0;

#ifdef FIX_638_ENERGIE_IAC_ROM_TABLES
+2 −1
Original line number Diff line number Diff line
@@ -57,8 +57,9 @@
   - On Windows this executable requires DLL from MATLAB, you need to add to your path `*/matlab/version/bin/win64`
   - For more details on `generate_crend_ivas_tables` see [`mixer_conv_sofa_to_rom_table_converter_readme.txt`](mixer_conv_sofa_to_rom_table_converter_readme.txt).
   - On Apple Silicon Mac with Intel MATLAB, it is necessary to add `SET(CMAKE_OSX_ARCHITECTURES "x86_64")` in the `CMakeLists.txt` near the top of the file. This forces the compilation to use Intel architecture instead ofo the native one.
   - if find_package do not find matlab, at the beginning of the cmakelists.txt file you can set the search path with the folowing line set(Matlab_ROOT_DIR matlab_path), for example on linux set(Matlab_ROOT_DIR ~/MATLAB/R2023b) on mac set(Matlab_ROOT_DIR /Applications/MATLAB_R2023b.app) 	 

### Build `tables_format_converter` in `Release` or `RelWithDebugInfo` configuration. `Debug` configuration does not work calling NumPy
### Build `tables_format_converter`
   - Open a command line terminal
   - Goto  folder
   - Execute
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@
 *-----------------------------------------------------------------------------------------*/
static ivas_error read_txt_bool(
    const char *pLine, /* i  : String to read from  */
    uint32_t *pTarget  /* o  : Output pointer       */
    int32_t *pTarget  /* o  : Output pointer       */
)
{
    char value[8 + 1];
+1 −1
Original line number Diff line number Diff line
@@ -1450,7 +1450,7 @@ static uint16_t get_fft_size(
 *  and frequency-dependent IA coherence. Expects frequency-domain HRTF input
 *-------------------------------------------------------------------*/

void static ivas_reverb_get_hrtf_set_properties(
void ivas_reverb_get_hrtf_set_properties(
    float **ppHrtf_set_L_re,
    float **ppHrtf_set_L_im,
    float **ppHrtf_set_R_re,