aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-08-28 14:10:39 -0700
committerChris Robinson <[email protected]>2015-08-28 14:10:39 -0700
commite5fa4ee25dae8b242761052641dca5a4f8091359 (patch)
tree87a4e70d7465ae651e671d62c2e6e399bb210a19 /Alc/hrtf.c
parentbbc16e2c15b139cf2ef14eff9b3bcdb4933a5b0e (diff)
Allow for device-specific config values
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index 09d7cb65..9425c696 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -730,7 +730,7 @@ static struct Hrtf *LoadHrtf(ALuint deviceRate)
{
const char *fnamelist = "default-%r.mhr";
- ConfigValueStr(NULL, "hrtf_tables", &fnamelist);
+ ConfigValueStr(NULL, NULL, "hrtf_tables", &fnamelist);
while(*fnamelist != '\0')
{
struct Hrtf *Hrtf = NULL;
@@ -879,7 +879,7 @@ void FreeHrtfs(void)
}
}
-ALuint GetHrtfIrSize (const struct Hrtf *Hrtf)
+ALuint GetHrtfIrSize(const struct Hrtf *Hrtf)
{
return Hrtf->irSize;
}