diff options
author | Chris Robinson <[email protected]> | 2012-09-11 01:59:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-11 02:11:51 -0700 |
commit | 7e81918f7b76135928f7e40eff77493ea98596d5 (patch) | |
tree | 4c369af77374ac8022806b4495ada3b2d8971063 /Alc/ALc.c | |
parent | 1b840a3db80788813d44631357280520ee50e03f (diff) |
Update HRTF code
This update allows for much more flexibility in the HRTF data. It also allows
for HRTF table file names to include "%r" to represent the device's playback
rate (e.g. if you set hrtf-%r.mhr, then it will try to use hrtf-44100.mhr or
hrtf-48000.mhr depending if the device's output rate is 44100 or 48000,
respectively).
The makehrtf utility has also been updated to support more options and input
file formats, as well as the new mhr format.
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -836,8 +836,6 @@ static void alc_initconfig(void) } FillCPUCaps(capfilter); - InitHrtf(); - #ifdef _WIN32 RTPrioLevel = 1; #else @@ -1034,7 +1032,7 @@ static void alc_deinit_safe(void) { alc_cleanup(); - FreeHrtf(); + FreeHrtfs(); FreeALConfig(); ThunkExit(); |