MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FreeAmbientSoundData

Function FreeAmbientSoundData

Descent3/ambient.cpp:164–170  ·  view source on GitHub ↗

Close down ambient sound system and free data

Source from the content-addressed store, hash-verified

162
163// Close down ambient sound system and free data
164static void FreeAmbientSoundData() {
165 for (int p = 0; p < Num_ambient_sound_patterns; p++)
166 if (Ambient_sound_patterns[p].num_sounds)
167 mem_free(Ambient_sound_patterns[p].sounds);
168
169 Num_ambient_sound_patterns = 0;
170}
171
172// Initialize the ambient sound system
173void InitAmbientSoundSystem() {

Callers 1

ReadAmbientDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected