pip install PySFML python import sfml.audio as sf_audio import sfml.system as sf_system python player = sf_audio.Music() python if not player.open_from_file('music.ogg'): print("Failed to load music.ogg") python player.play() python player.pause() python player.stop() python player.volume = 50 python player.loop = True


上一篇:
下一篇:
切换中文