示例#1
0
 def GetPos(self):
     # Use the default GetPos() which simply checks the time
     # since we started playing. This does not take account
     # for any fast-forward/rewind that may occur in the
     # external player, but we cannot support getting the
     # song position from arbitrary user-supplied players.
     return pykPlayer.GetPos(self)
示例#2
0
 def GetPos(self):
     if self.soundFileData:
         return pygame.mixer.music.get_pos()
     else:
         return pykPlayer.GetPos(self)
示例#3
0
文件: pykar.py 项目: thiagohersan/SDR
 def GetPos(self):
     if self.useMidiTimer:
         return pygame.mixer.music.get_pos()
     else:
         return pykPlayer.GetPos(self)