Example #1
0
    def stop(self):
        if not self._playing:
            return

        self._pause_timestamp = self.get_time()
        al.alSourcePause(self._al_source)
        self._playing = False
Example #2
0
    def stop(self):
        if not self._playing:
            return

        self._pause_timestamp = self.get_time()
        al.alSourcePause(self._al_source)
        self._playing = False
Example #3
0
    def pause(self):
        self._playing = False

        if not self._sources:
            return

        if self._al_playing:
            al.alSourcePause(self._al_source)
            self._al_playing = False
Example #4
0
 def pause(self):
     al.alSourcePause(self.source)
Example #5
0
 def pause(self):
     al.alSourcePause(self.source)