| 678 | } |
| 679 | |
| 680 | void StopSoundTrack(SoundTrackType mode, int fadeoutTime) |
| 681 | { |
| 682 | if (SoundtrackSlot[(int)mode].Channel == NULL) |
| 683 | return; |
| 684 | |
| 685 | // Do fadeout. |
| 686 | BASS_ChannelSlideAttribute(SoundtrackSlot[(int)mode].Channel, BASS_ATTRIB_VOL | BASS_SLIDE_LOG, -1.0f, fadeoutTime); |
| 687 | |
| 688 | SoundtrackSlot[(int)mode].Track = {}; |
| 689 | SoundtrackSlot[(int)mode].Channel = NULL; |
| 690 | } |
| 691 | |
| 692 | void ClearSoundTrackMasks() |
| 693 | { |
no outgoing calls
no test coverage detected