MCPcopy Create free account
hub / github.com/JACoders/OpenJK / S_memoryLoad

Function S_memoryLoad

code/client/snd_dma.cpp:1055–1065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1053}
1054
1055void S_memoryLoad(sfx_t *sfx)
1056{
1057 // load the sound file...
1058 //
1059 if ( !S_LoadSound( sfx ) )
1060 {
1061// Com_Printf( S_COLOR_YELLOW "WARNING: couldn't load sound: %s\n", sfx->sSoundName );
1062 sfx->bDefaultSound = true;
1063 }
1064 sfx->bInMemory = true;
1065}
1066
1067//=============================================================================
1068static qboolean S_CheckChannelStomp( int chan1, int chan2 )

Callers 6

S_ReloadAllUsedSoundsFunction · 0.70
S_RegisterSoundFunction · 0.70
S_StartAmbientSoundFunction · 0.70
S_StartSoundFunction · 0.70
S_AddLoopingSoundFunction · 0.70
S_AddAmbientLoopingSoundFunction · 0.70

Calls 1

S_LoadSoundFunction · 0.70

Tested by

no test coverage detected