summaryrefslogtreecommitdiffstats
path: root/src/engine/effects
diff options
context:
space:
mode:
authorbe_ <be.0@gmx.com>2018-01-05 17:01:08 -0600
committerbe_ <be.0@gmx.com>2018-01-05 17:01:08 -0600
commitb5b2180a3796231b97f3760460cc6ff2cfd04293 (patch)
treece0ab1bca53d854f9a14b4d8fdf351721bbffa41 /src/engine/effects
parentfff7f2e571bd9ea46d12a972c417aab0e24ce78a (diff)
add clarifying comment about lifetime of EffectsRequest
Diffstat (limited to 'src/engine/effects')
-rw-r--r--src/engine/effects/message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/effects/message.h b/src/engine/effects/message.h
index 22a5b2f014..2b6cc913c4 100644
--- a/src/engine/effects/message.h
+++ b/src/engine/effects/message.h
@@ -71,6 +71,8 @@ struct EffectsRequest {
#undef CLEAR_STRUCT
}
+ // This is called from the main thread by EffectsManager after receiving a
+ // response from EngineEffectsManager in the audio engine thread.
~EffectsRequest() {
if (type == ENABLE_EFFECT_CHAIN_FOR_INPUT_CHANNEL) {
VERIFY_OR_DEBUG_ASSERT(EnableInputChannelForChain.pEffectStatesMapArray != nullptr) {