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

Function S_LoadSound

code/client/snd_mem.cpp:970–979  ·  view source on GitHub ↗

wrapper function for above so I can guarantee that we don't attempt any audio-dumping during this call because of a z_malloc() fail recovery...

Source from the content-addressed store, hash-verified

968// of a z_malloc() fail recovery...
969//
970qboolean S_LoadSound( sfx_t *sfx )
971{
972 gbInsideLoadSound = qtrue; // !!!!!!!!!!!!!
973
974 qboolean bReturn = S_LoadSound_Actual( sfx );
975
976 gbInsideLoadSound = qfalse; // !!!!!!!!!!!!!
977
978 return bReturn;
979}
980
981#ifdef USE_OPENAL
982/*

Callers 1

S_memoryLoadFunction · 0.70

Calls 1

S_LoadSound_ActualFunction · 0.70

Tested by

no test coverage detected