def fadeout(self, time): """ fadeout(time) -> None stop playback after fading channel out """ check_mixer() sdl.Mix_FadeOutChannel(self.chan, time)
def fadeout(time): """ fadeout(time) -> None fade out the volume on all sounds before stopping """ check_mixer() sdl.Mix_FadeOutChannel(-1, time)