diff options
author | Chris Robinson <[email protected]> | 2020-11-20 01:37:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-11-20 01:37:19 -0800 |
commit | f85e76285f8ad0824f6d6b1e02bb468597b006d4 (patch) | |
tree | 01d68abce2d52e328c133f2ddf59d6a1d4d55920 /alc/voice.cpp | |
parent | bee9917598b59f00b0bfa8145dd5b8968e25b12c (diff) |
Disassociate internal voice enums from AL enums
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r-- | alc/voice.cpp | 4 |
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{}; |