def fadeout(time):
    mixer._mixer_init_check()

    Mix_FadeOutMusic(time)
    _free_loaded(False, True)
Stop music playback after fading out.
dataset/ETHPy150Open los-cocos/cocos/cocos/audio/pygame/music.py/fadeout