예제 #1
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     if self.Movie:
         self.Movie.stop()
     # Must remove the object before using pygame.mixer module again
     self.Movie = None
     pykPlayer.shutdown(self)
예제 #2
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     if self.Movie:
         self.Movie.stop()
     # Must remove the object before using pygame.mixer module again
     self.Movie = None
     pykPlayer.shutdown(self)
예제 #3
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        if self.soundFileData:
            if manager.audioProps:
                pygame.mixer.music.stop()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
예제 #4
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        if self.soundFileData:
            if manager.audioProps:
                pygame.mixer.music.stop()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
예제 #5
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        #pygame.mixer.music.stop()
        #pygame.mixer.music = None
        pygame.mixer.quit()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
        pygame.display.quit()
        if self.tempdir:
            shutil.rmtree(self.tempdir)
            self.tempdir = None
예제 #6
0
    def shutdown(self):
        # This will be called by the pykManager to shut down the thing
        # immediately.
        #pygame.mixer.music.stop()
        #pygame.mixer.music = None
        pygame.mixer.quit()

        # Make sure our surfaces are deallocated before we call up to
        # CloseDisplay(), otherwise bad things can happen.
        self.workingSurface = None
        self.workingTile = None
        self.packetReader = None
        pykPlayer.shutdown(self)
        pygame.display.quit()
        if self.tempdir:
            shutil.rmtree(self.tempdir)
            self.tempdir = None
예제 #7
0
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     pygame.mixer.music.stop()
     pykPlayer.shutdown(self)
예제 #8
0
파일: pycdg.py 프로젝트: thiagohersan/SDR
 def shutdown(self):
     # This will be called by the pykManager to shut down the thing
     # immediately.
     pygame.mixer.music.stop()
     pykPlayer.shutdown(self)