aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-28 00:10:12 -0800
committerChris Robinson <[email protected]>2018-01-28 00:10:12 -0800
commitdcc5a10c7b8bbe6be82c992b6540fd1ad745b7a7 (patch)
treed5f931b713bbd7c1031aebcbe0e01ca202bdcc71 /Alc
parent0051ebace0c419d873c1ebbe615c483c0124e70e (diff)
Use a fixed array for the effect state factory list
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 7ec5ec8d..ea387c6d 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1127,8 +1127,6 @@ static void alc_initconfig(void)
} while(next++);
}
- InitEffectFactoryMap();
-
InitEffect(&DefaultEffect);
str = getenv("ALSOFT_DEFAULT_REVERB");
if((str && str[0]) || ConfigValueStr(NULL, NULL, "default-reverb", &str))
@@ -1229,8 +1227,6 @@ static void alc_cleanup(void)
} while((dev=dev->next) != NULL);
ERR("%u device%s not closed\n", num, (num>1)?"s":"");
}
-
- DeinitEffectFactoryMap();
}
static void alc_deinit_safe(void)