aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-31 14:53:28 -0700
committerChris Robinson <[email protected]>2019-08-31 14:53:28 -0700
commita546343148ad87786b1a199e9ca91ffc50da4e81 (patch)
tree0b7f6a82fdf02478d3f7800375106e5586364556 /alc/alu.h
parent5b6772440a60399a662877b953b36164f33dc7d8 (diff)
Make MixVoice a member function
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alu.h b/alc/alu.h
index df20ea4a..da6f6a94 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -310,6 +310,8 @@ struct ALvoice {
return *this;
}
+
+ void mix(ALvoice::State vstate, ALCcontext *Context, const ALuint SamplesToDo);
};
@@ -444,8 +446,6 @@ inline std::array<ALfloat,MAX_AMBI_CHANNELS> GetAmbiIdentityRow(size_t i) noexce
}
-void MixVoice(ALvoice *voice, ALvoice::State vstate, const ALuint SourceID, ALCcontext *Context, const ALuint SamplesToDo);
-
void aluMixData(ALCdevice *device, ALvoid *OutBuffer, const ALuint NumSamples);
/* Caller must lock the device state, and the mixer must not be running. */
void aluHandleDisconnect(ALCdevice *device, const char *msg, ...) DECL_FORMAT(printf, 2, 3);