From dcc5a10c7b8bbe6be82c992b6540fd1ad745b7a7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 28 Jan 2018 00:10:12 -0800 Subject: Use a fixed array for the effect state factory list --- Alc/ALc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Alc/ALc.c') 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) -- cgit v1.2.3