예제 #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)