aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-10-21 11:30:39 -0700
committerChris Robinson <[email protected]>2019-10-21 11:30:39 -0700
commitfcde56e1fc2e16b2ac461fdc2e97a89adb82c6c6 (patch)
tree29851a3957b1c6228356a89388337088c0423857
parentf58167e72dbc2844a06358ccd78d579feb17532a (diff)
Increase the max elevation and azimuth count for HRTFs
-rw-r--r--alc/hrtf.cpp4
-rw-r--r--utils/makemhr/makemhr.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index b23f9d6f..7643ce44 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -88,10 +88,10 @@ using HrtfHandlePtr = std::unique_ptr<HrtfHandle>;
#define MAX_FD_DISTANCE (2.5f)
#define MIN_EV_COUNT (5)
-#define MAX_EV_COUNT (128)
+#define MAX_EV_COUNT (181)
#define MIN_AZ_COUNT (1)
-#define MAX_AZ_COUNT (128)
+#define MAX_AZ_COUNT (360)
#define MAX_HRIR_DELAY (HRTF_HISTORY_LENGTH-1)
diff --git a/utils/makemhr/makemhr.h b/utils/makemhr/makemhr.h
index 24520bd2..5125b43c 100644
--- a/utils/makemhr/makemhr.h
+++ b/utils/makemhr/makemhr.h
@@ -11,13 +11,13 @@
// The limit to the number of 'distances' listed in the data set definition.
#define MAX_FD_COUNT (16)
-// The limits to the number of 'azimuths' listed in the data set definition.
+// The limits to the number of 'elevations' listed in the data set definition.
#define MIN_EV_COUNT (5)
-#define MAX_EV_COUNT (128)
+#define MAX_EV_COUNT (181)
// The limits for each of the 'azimuths' listed in the data set definition.
#define MIN_AZ_COUNT (1)
-#define MAX_AZ_COUNT (128)
+#define MAX_AZ_COUNT (360)
// The limits for the 'distance' from source to listener for each field in
// the definition file.