aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/makemhr.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-23 01:32:27 -0800
committerChris Robinson <[email protected]>2023-01-23 01:32:27 -0800
commit1ca27df39cc7605b55ffd73cab93f6a174b8d421 (patch)
tree868c57201f009a04349ccc6446597d594697e91b /utils/makemhr/makemhr.h
parent952446ec11422bbb7e9fee2c3f35cb68aaf68fd2 (diff)
Use a span instead of pointer+count
Diffstat (limited to 'utils/makemhr/makemhr.h')
-rw-r--r--utils/makemhr/makemhr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/makemhr/makemhr.h b/utils/makemhr/makemhr.h
index 829ce5d6..0ac581be 100644
--- a/utils/makemhr/makemhr.h
+++ b/utils/makemhr/makemhr.h
@@ -108,7 +108,9 @@ 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);
+bool PrepareHrirData(const al::span<const double> distances,
+ const al::span<const uint,MAX_FD_COUNT> evCounts,
+ const uint azCounts[MAX_FD_COUNT * MAX_EV_COUNT], HrirDataT *hData);
void MagnitudeResponse(const uint n, const complex_d *in, double *out);
// Performs a forward FFT.