Skip to content

Commit

Permalink
fix more type conversion issues (similar to previous commit); there's…
Browse files Browse the repository at this point in the history
… probably more...
  • Loading branch information
marclava committed Nov 28, 2022
1 parent 4d3ab1a commit c7c386a
Show file tree
Hide file tree
Showing 24 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion examples/include/ambi_dec.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void ambi_dec_initCodec(void* const hAmbi);
*/
void ambi_dec_process(void* const hAmbi,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/ambi_drc.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void ambi_drc_init(void* const hAmbi,
*/
void ambi_drc_process(void* const hAmbi,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nCH,
int nSamples);

Expand Down
2 changes: 1 addition & 1 deletion examples/include/ambi_enc.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void ambi_enc_init(void* const hAmbi,
*/
void ambi_enc_process(void* const hAmbi,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/ambi_roomsim.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void ambi_roomsim_init(void* const hAmbi,
*/
void ambi_roomsim_process(void* const hAmbi,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/array2sh.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ void array2sh_evalEncoder(void* const hA2sh);
*/
void array2sh_process(void* const hA2sh,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/beamformer.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void beamformer_init(void* const hBeam,
*/
void beamformer_process(void* const hBeam,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/binauraliser.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void binauraliser_initCodec(void* const hBin);
*/
void binauraliser_process(void* const hBin,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
4 changes: 2 additions & 2 deletions examples/include/binauraliser_nf.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void binauraliserNF_initCodec(void* const hBin);
*/
void binauraliserNF_process(void* const hBin,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand All @@ -134,7 +134,7 @@ void binauraliserNF_process(void* const hBin,
*/
void binauraliserNF_processFD(void* const hBin,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/decorrelator.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void decorrelator_initCodec(void* const hDecor);
*/
void decorrelator_process(void* const hDecor,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/panner.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ void panner_initCodec(void* const hPan);
*/
void panner_process(void* const hPan,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/rotator.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void rotator_init(void* const hRot,
*/
void rotator_process(void* const hRot,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
2 changes: 1 addition & 1 deletion examples/include/spreader.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void spreader_initCodec(void* const hSpr);
*/
void spreader_process(void* const hSpr,
const float *const * inputs,
float** const outputs,
float* const* outputs,
int nInputs,
int nOutputs,
int nSamples);
Expand Down
4 changes: 2 additions & 2 deletions examples/src/ambi_dec/ambi_dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void ambi_dec_destroy
free(pars->hrtf_fb);
free(pars->hrtf_fb_mag);
free(pars->itds_s);
free(pars->sofa_filepath);
free(pars->sofa_filepath);
free(pars->hrirs);
free(pars->hrir_dirs_deg);
free(pars->weights);
Expand Down Expand Up @@ -458,7 +458,7 @@ void ambi_dec_process
(
void * const hAmbi,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/ambi_drc/ambi_drc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void ambi_drc_process
(
void * const hAmbi,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nCh,
int nSamples
)
Expand Down
2 changes: 1 addition & 1 deletion examples/src/ambi_enc/ambi_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void ambi_enc_process
(
void * const hAmbi,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/ambi_roomsim/ambi_roomsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void ambi_roomsim_process
(
void * const hAmbi,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/array2sh/array2sh.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ void array2sh_process
(
void * const hA2sh,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/beamformer/beamformer.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void beamformer_process
(
void * const hBeam,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/binauraliser/binauraliser.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void binauraliser_process
(
void * const hBin,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/binauraliser_nf/binauraliser_nf.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ void binauraliserNF_process /* FREQ DOMAIN version */
(
void * const hBin,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/decorrelator/decorrelator.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void decorrelator_process
(
void * const hDecor,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/panner/panner.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void panner_process
(
void * const hPan,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
2 changes: 1 addition & 1 deletion examples/src/rotator/rotator.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void rotator_process
(
void * const hRot,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down
4 changes: 2 additions & 2 deletions examples/src/spreader/spreader.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ void spreader_destroy
SAF_SLEEP(10);
}

free(pData->sofa_filepath);
free(pData->sofa_filepath);

/* free afSTFT and buffers */
if(pData->hSTFT !=NULL)
Expand Down Expand Up @@ -341,7 +341,7 @@ void spreader_process
(
void * const hSpr,
const float *const * inputs,
float ** const outputs,
float* const* const outputs,
int nInputs,
int nOutputs,
int nSamples
Expand Down

0 comments on commit c7c386a

Please sign in to comment.