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

Method DestroySoundLib

sndlib/sdlsound.cpp:136–141  ·  view source on GitHub ↗

Cleans up after the Sound Library

Source from the content-addressed store, hash-verified

134
135// Cleans up after the Sound Library
136void lnxsound::DestroySoundLib() {
137 if (sound_device) {
138 SDL_CloseAudioDevice(sound_device);
139 sound_device = 0;
140 }
141}
142
143// Locks and unlocks sounds (used when changing play_info data)
144bool lnxsound::LockSound(int sound_uid) { return false; }

Callers 2

MusicPlayCloseFunction · 0.80
KillSoundLibMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected