Пример #1
0
    def delete(self):
        if self.playing():
            self.stop()

        al.alDeleteSources(1, self.source)
Пример #2
0
 def delete(self):
     al.alDeleteSources(1, self.source)
Пример #3
0
 def __del__(self):
     try:
         al.alDeleteSources(1, self._al_source)
     except:
         pass
Пример #4
0
 def delete(self):
     al.alDeleteSources(1, self.source)
Пример #5
0
 def __del__(self):
     try:
         al.alDeleteSources(1, self._al_source)
     except:
         pass
Пример #6
0
    def delete(self):
        if self.playing():
            self.stop()

        al.alDeleteSources(1, self.source)
Пример #7
0
 def __del__(self, al=al):
     if al and al.alDeleteSources:
         al.alDeleteSources(1, self._al_source)