如何让pygame在特定的点上启动?

2024-09-27 00:18:47 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一个播放pygame的声音文件。在

 menu_sound = pygame.mixer.Sound('sounds/Devastation.ogg')
 #these lines are not next to each other in my code, i just picked out relevant lines.
 menu_sound.play(-1)

大约有4秒的延迟。我如何强制pygame从4秒开始播放音乐?我已经看过混音器模块的文档,但是没有找到任何东西。在

Python 3.3.3,windows


Tags: tonotpygamearenextmenulinesmixer

热门问题