aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-07-07 10:26:42 -0700
committerChris Robinson <[email protected]>2016-07-07 10:26:42 -0700
commit7ec89b4b6e787c9bb0b73aea7f736351f1b0bfca (patch)
treeb12b9da8d160048f7aaa8da8d4e8eb9cef2daecd /Alc/hrtf.c
parentb495d80f5624328569bd0d8b9478927c0fc32100 (diff)
Avoid function calls to get the HRTF sample rate and IR size
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 1f972f87..eb586d38 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -44,20 +44,6 @@
#define MIN_AZ_COUNT (1)
#define MAX_AZ_COUNT (128)
-struct Hrtf {
- ALuint sampleRate;
- ALuint irSize;
- ALubyte evCount;
-
- const ALubyte *azCount;
- const ALushort *evOffset;
- const ALshort *coeffs;
- const ALubyte *delays;
-
- const char *filename;
- struct Hrtf *next;
-};
-
static const ALchar magicMarker00[8] = "MinPHR00";
static const ALchar magicMarker01[8] = "MinPHR01";
@@ -696,17 +682,6 @@ void FreeHrtfList(vector_HrtfEntry *list)
}
-ALuint GetHrtfSampleRate(const struct Hrtf *Hrtf)
-{
- return Hrtf->sampleRate;
-}
-
-ALuint GetHrtfIrSize(const struct Hrtf *Hrtf)
-{
- return Hrtf->irSize;
-}
-
-
void FreeHrtfs(void)
{
struct Hrtf *Hrtf = LoadedHrtfs;