From fcde56e1fc2e16b2ac461fdc2e97a89adb82c6c6 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 21 Oct 2019 11:30:39 -0700 Subject: [PATCH] Increase the max elevation and azimuth count for HRTFs --- alc/hrtf.cpp | 4 ++-- utils/makemhr/makemhr.h | 6 +++--- 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; #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. -- 2.11.4.GIT