Exemplo n.º 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)
Exemplo n.º 2
0
 def GetPos(self):
     if self.soundFileData:
         return pygame.mixer.music.get_pos()
     else:
         return pykPlayer.GetPos(self)
Exemplo n.º 3
0
 def GetPos(self):
     if self.useMidiTimer:
         return pygame.mixer.music.get_pos()
     else:
         return pykPlayer.GetPos(self)