Stops a sound playing
| 3336 | |
| 3337 | // Stops a sound playing |
| 3338 | void TelcomStopSound(int sid) { |
| 3339 | ASSERT(sid >= 0 && sid < TCSND_SOUNDCOUNT); |
| 3340 | |
| 3341 | // see if the sound is already playing |
| 3342 | if (TelcomSounds[sid].hlhandle != -1) { |
| 3343 | Sound_system.StopSoundLooping(TelcomSounds[sid].hlhandle); |
| 3344 | } |
| 3345 | TelcomSounds[sid].hlhandle = -1; |
| 3346 | } |
| 3347 | |
| 3348 | //------------------------------------------------------------------------------ |
| 3349 | // Pages a texture into memory, optionally resizing it if in low mem mode |
no test coverage detected