aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/makemhr.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-25 20:16:02 -0700
committerChris Robinson <[email protected]>2019-03-25 20:16:02 -0700
commit0a4d1c858ec21b948838f5e9b464b5534d497bca (patch)
tree871998dc725daf2c83ca852ea5a57887e153c4c3 /utils/makemhr/makemhr.h
parentcb02bb00bebefce11092eeb7efaafa8a16a090af (diff)
Support loading SOFA files directly with makemhr
This extracts the definition info it can from the SOFA, and uses the same logic as sofa-info to automatically detect an appropriate layout. There is a bit of code duplication from loaddef.cpp and sofa-info.cpp, though there are slight modifications.
Diffstat (limited to 'utils/makemhr/makemhr.h')
-rw-r--r--utils/makemhr/makemhr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/makemhr/makemhr.h b/utils/makemhr/makemhr.h
index 047813d8..24520bd2 100644
--- a/utils/makemhr/makemhr.h
+++ b/utils/makemhr/makemhr.h
@@ -102,7 +102,7 @@ struct HrirDataT {
};
-int PrepareHrirData(const uint fdCount, const double distances[MAX_FD_COUNT], const uint evCounts[MAX_FD_COUNT], const uint azCounts[MAX_FD_COUNT * MAX_EV_COUNT], HrirDataT *hData);
+int PrepareHrirData(const uint fdCount, const double (&distances)[MAX_FD_COUNT], const uint (&evCounts)[MAX_FD_COUNT], const uint azCounts[MAX_FD_COUNT * MAX_EV_COUNT], HrirDataT *hData);
void MagnitudeResponse(const uint n, const complex_d *in, double *out);
void FftForward(const uint n, complex_d *inout);
void FftInverse(const uint n, complex_d *inout);