aboutsummaryrefslogtreecommitdiffstats
path: root/alc/voice.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-01-14 10:38:24 -0800
committerChris Robinson <[email protected]>2020-01-14 10:39:41 -0800
commit5324bdb9080db1acdd45e84d191542501675a302 (patch)
tree97c94bdcd85f278f3b21ddd84c36d4cd9661afc4 /alc/voice.cpp
parent400c768e2fa5ea7ce72f2c4235f2363012153ac9 (diff)
Signal the event handler only once per update
Diffstat (limited to 'alc/voice.cpp')
-rw-r--r--alc/voice.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/alc/voice.cpp b/alc/voice.cpp
index 8c8b59c4..14b3607b 100644
--- a/alc/voice.cpp
+++ b/alc/voice.cpp
@@ -280,7 +280,6 @@ void SendSourceStoppedEvent(ALCcontext *context, ALuint id)
evt->u.srcstate.state = AL_STOPPED;
ring->writeAdvance(1);
- context->mEventSem.post();
}
@@ -823,7 +822,6 @@ void ALvoice::mix(const State vstate, ALCcontext *Context, const ALuint SamplesT
evt->u.bufcomp.id = SourceID;
evt->u.bufcomp.count = buffers_done;
ring->writeAdvance(1);
- Context->mEventSem.post();
}
}