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

Method StopSoundLooping

sndlib/hlsoundlib.cpp:1289–1297  ·  view source on GitHub ↗

Stop a looping sound and plays end snipit

Source from the content-addressed store, hash-verified

1287}
1288// Stop a looping sound and plays end snipit
1289void hlsSystem::StopSoundLooping(int hlsound_uid) {
1290 int sound_object_index;
1291 if (m_f_hls_system_init < 1)
1292 return; // DAJ -1FIX
1293 sound_object_index = ValidateUniqueId(hlsound_uid);
1294 if (sound_object_index == -1)
1295 return;
1296 StopSound(sound_object_index, SKT_STOP_AFTER_LOOP);
1297}
1298void hlsSystem::StopSoundImmediate(int hlsound_uid) {
1299 int sound_object_index;
1300 if (m_f_hls_system_init < 1)

Callers 15

osipf_ObjBurningFunction · 0.80
MultiDoPlayerDeadFunction · 0.80
TelcomStopSoundFunction · 0.80
AIUpdateAnimFunction · 0.80
AISeeTargetFunction · 0.80
AINotifyFunction · 0.80
ai_moveFunction · 0.80
ai_fireFunction · 0.80
ObjDoEffectsFunction · 0.80
ResetPlayerObjectFunction · 0.80
StartObjProdMethod · 0.80
SetStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected