diff options
author | Chris Robinson <[email protected]> | 2016-07-07 10:26:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-07 10:26:42 -0700 |
commit | 7ec89b4b6e787c9bb0b73aea7f736351f1b0bfca (patch) | |
tree | b12b9da8d160048f7aaa8da8d4e8eb9cef2daecd /Alc/hrtf.c | |
parent | b495d80f5624328569bd0d8b9478927c0fc32100 (diff) |
Avoid function calls to get the HRTF sample rate and IR size
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -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; |