aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-16 12:18:59 -0800
committerChris Robinson <[email protected]>2018-01-16 12:18:59 -0800
commite80b016cbedd500bec7119005537bdc92231e667 (patch)
tree63ee233e7c454d45581e0e5e0d940819a7bafd52 /Alc/effects/reverb.c
parent8c19497340951aceb88d4f91038cafece6f00d7c (diff)
Use a global RowMixerFunc
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 85f55880..7729caec 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -57,14 +57,6 @@ ALfloat ReverbBoost = 1.0f;
#define NUM_LINES 4
-static RowMixerFunc MixRowSamples = MixRow_C;
-
-static alonce_flag mixfunc_inited = AL_ONCE_FLAG_INIT;
-static void init_mixfunc(void)
-{
- MixRowSamples = SelectRowMixer();
-}
-
/* The B-Format to A-Format conversion matrix. The arrangement of rows is
* deliberately chosen to align the resulting lines to their spatial opposites
* (0:above front left <-> 3:above back right, 1:below front right <-> 2:below
@@ -1760,8 +1752,6 @@ static ALeffectState *ALreverbStateFactory_create(ALreverbStateFactory* UNUSED(f
{
ALreverbState *state;
- alcall_once(&mixfunc_inited, init_mixfunc);
-
NEW_OBJ0(state, ALreverbState)();
if(!state) return NULL;