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