| 1296 | StopSound(sound_object_index, SKT_STOP_AFTER_LOOP); |
| 1297 | } |
| 1298 | void hlsSystem::StopSoundImmediate(int hlsound_uid) { |
| 1299 | int sound_object_index; |
| 1300 | if (m_f_hls_system_init < 1) |
| 1301 | return; // DAJ -1FIX |
| 1302 | sound_object_index = ValidateUniqueId(hlsound_uid); |
| 1303 | if (sound_object_index == -1) |
| 1304 | return; |
| 1305 | StopSound(sound_object_index, SKT_STOP_IMMEDIATELY); |
| 1306 | } |
| 1307 | // Forcefully ends a sound |
| 1308 | void hlsSystem::StopSound(int sound_obj_index, uint8_t f_stop_priority) { |
| 1309 | if (!m_f_hls_system_init) |
no outgoing calls
no test coverage detected