From 7e81918f7b76135928f7e40eff77493ea98596d5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 11 Sep 2012 01:59:42 -0700 Subject: 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. --- Alc/ALc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index 77316843..48dc3a0f 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -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(); -- cgit v1.2.3