From 56c6b3f56cfd300ce62b6dc932a241ac619cb086 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 May 2016 14:46:06 -0700 Subject: Don't store the source's update method with the voice --- OpenAL32/alSource.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'OpenAL32/alSource.c') diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index 1124c9c3..090b4659 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -2965,10 +2965,6 @@ ALvoid SetSourceState(ALsource *Source, ALCcontext *Context, ALenum state) } } - if(BufferList->buffer->FmtChannels == FmtMono) - voice->Update = CalcAttnSourceParams; - else - voice->Update = CalcNonAttnSourceParams; UpdateSourceProps(Source, device->NumAuxSends); } else if(state == AL_PAUSED) -- cgit v1.2.3