From 7ec89b4b6e787c9bb0b73aea7f736351f1b0bfca Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 7 Jul 2016 10:26:42 -0700 Subject: Avoid function calls to get the HRTF sample rate and IR size --- Alc/hrtf.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'Alc/hrtf.c') 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; -- cgit v1.2.3