cdrom_test.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:Projects 作者: it2school 项目源码 文件源码
def todo_test_play(self):

        # __doc__ (as of 2008-08-02) for pygame.cdrom.CD.play:

          # CD.init(): return None
          # initialize a cdrom drive for use
          # 
          # Playback audio from an audio cdrom in the drive. Besides the track
          # number argument, you can also pass a starting and ending time for
          # playback. The start and end time are in seconds, and can limit the
          # section of an audio track played.
          # 
          # If you pass a start time but no end, the audio will play to the end
          # of the track. If you pass a start time and 'None' for the end time,
          # the audio will play to the end of the entire disc.
          # 
          # See the CD.get_numtracks() and CD.get_track_audio() to find tracks to playback. 
          # Note, track 0 is the first track on the CD.  Track numbers start at zero. 

        self.fail()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号