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

Function S_StartSound

engine/client/s_main.cpp:859–989  ·  view source on GitHub ↗

==================== S_StartSound Start a sound effect for the given entity on the given channel (ie; voice, weapon etc). Try to grab a channel out of the 8 dynamic spots available. Currently used for looping sounds, streaming sounds, sentences, and regular entity sounds. NOTE: volume is 0.0 - 1.0 and attenuation is 0.0 - 1.0 when passed in. Pitch changes playback pitch of wave by % above or be

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

CL_ParseSoundPacketFunction · 0.85
GAME_EXPORT pfnPlaySoundFunction · 0.85
S_StartLocalSoundFunction · 0.85
S_Say_fFunction · 0.85
S_SayReliable_fFunction · 0.85
GAME_EXPORT pfnPlaySoundFunction · 0.85
CL_TEntPlaySoundFunction · 0.85

Calls 15

S_GetSfxByHandleFunction · 0.85
S_AlterChannelFunction · 0.85
MsgDevFunction · 0.85
SND_PickStaticChannelFunction · 0.85
SND_PickDynamicChannelFunction · 0.85
S_TestSoundCharFunction · 0.85
VOX_LoadSoundFunction · 0.85
S_SkipSoundCharFunction · 0.85
S_LoadSoundFunction · 0.85
S_FreeChannelFunction · 0.85
SND_SpatializeFunction · 0.85
SND_InitMouthFunction · 0.85

Tested by

no test coverage detected