MCPcopy Create free account
hub / github.com/MoeMod/CSMoE / SND_PickStaticChannel

Function SND_PickStaticChannel

engine/client/s_main.cpp:360–393  ·  view source on GitHub ↗

===================== SND_PickStaticChannel Pick an empty channel from the static sound area, or allocate a new channel. Only fails if we're at max_channels (128!!!) or if we're trying to allocate a channel for a stream sound that is already playing. ===================== */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

S_StartSoundFunction · 0.85
S_RestoreSoundFunction · 0.85
S_AmbientSoundFunction · 0.85

Calls 2

MsgDevFunction · 0.85
VectorCompareFunction · 0.50

Tested by

no test coverage detected