示例#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)