aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-11-20 01:37:19 -0800
committerChris Robinson <[email protected]>2020-11-20 01:37:19 -0800
commitf85e76285f8ad0824f6d6b1e02bb468597b006d4 (patch)
tree01d68abce2d52e328c133f2ddf59d6a1d4d55920 /alc/voice.cpp
parentbee9917598b59f00b0bfa8145dd5b8968e25b12c (diff)
Disassociate internal voice enums from AL enums
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r--alc/voice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp
index 5d23f376..ee7c2bcb 100644
--- a/alc/voice.cpp
+++ b/alc/voice.cpp
@@ -184,7 +184,7 @@ void aluInitMixer()
namespace {
-void SendSourceStoppedEvent(ALCcontext *context, ALuint id)
+void SendSourceStoppedEvent(ALCcontext *context, uint id)
{
RingBuffer *ring{context->mAsyncEvents.get()};
auto evt_vec = ring->getWriteVector();
@@ -445,7 +445,7 @@ void DoNfcMix(const al::span<const float> samples, FloatBufferLine *OutBuffer, D
} // namespace
-void Voice::mix(const State vstate, ALCcontext *Context, const ALuint SamplesToDo)
+void Voice::mix(const State vstate, ALCcontext *Context, const uint SamplesToDo)
{
static constexpr std::array<float,MAX_OUTPUT_CHANNELS> SilentTarget{};