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

Function CL_StartSound

code/client/cl_main.cpp:914–924  ·  view source on GitHub ↗

============================ CL_StartSound Convenience function for the sound system to be started REALLY early on Xbox, helps with memory fragmentation. ============================ */

Source from the content-addressed store, hash-verified

912============================
913*/
914void CL_StartSound( void ) {
915 if ( !cls.soundStarted ) {
916 cls.soundStarted = qtrue;
917 S_Init();
918 }
919
920 if ( !cls.soundRegistered ) {
921 cls.soundRegistered = qtrue;
922 S_BeginRegistration();
923 }
924}
925
926/*
927============

Callers

nothing calls this directly

Calls 1

S_BeginRegistrationFunction · 0.70

Tested by

no test coverage detected