aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-03-11 20:00:14 -0700
committerChris Robinson <[email protected]>2019-03-11 20:00:14 -0700
commit30a7c6d86fba69130b6ed64731745135f207ba35 (patch)
tree1a44e54f07f205bb62ffd850ce925af5a228a9bd /OpenAL32
parente0daad6a164e1a091c46be7ece905b32a20036bd (diff)
Pass the voice state as a parameter instead of reloading it
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h
index 1de184cb..952d1004 100644
--- a/OpenAL32/Include/alu.h
+++ b/OpenAL32/Include/alu.h
@@ -446,7 +446,7 @@ inline std::array<ALfloat,MAX_AMBI_CHANNELS> GetAmbiIdentityRow(size_t i) noexce
}
-void MixSource(ALvoice *voice, const ALuint SourceID, ALCcontext *Context, const ALsizei SamplesToDo);
+void MixVoice(ALvoice *voice, ALvoice::State vstate, const ALuint SourceID, ALCcontext *Context, const ALsizei SamplesToDo);
void aluMixData(ALCdevice *device, ALvoid *OutBuffer, ALsizei NumSamples);
/* Caller must lock the device state, and the mixer must not be running. */