MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / shutdown

Function shutdown

TheForceEngine/TFE_Audio/audioSystem.cpp:140–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 }
139
140 void shutdown()
141 {
142 TFE_System::logWrite(LOG_MSG, "Audio", "Shutdown");
143 if (s_nullDevice) { return; }
144
145 stopAllSounds();
146
147 TFE_AudioDevice::destroy();
148 SDL_DestroyMutex(s_mutex);
149 }
150
151 void stopAllSounds()
152 {

Callers 1

selectDeviceFunction · 0.70

Calls 3

logWriteFunction · 0.85
stopAllSoundsFunction · 0.85
destroyFunction · 0.70

Tested by

no test coverage detected