예제 #1
0
 def release(self):
     """
     stops the channel and set it to none
     """
     super().release()
     FMOD.stopChannel(self._channel)
     self._channel = None
예제 #2
0
 def setSound(self, sound):
     """
     sets source's sound
     """
     FMOD.stopChannel(self._channel)
     self._sound = sound
     self._channel = FMOD.createChannel(self._sound, self._mode)