コード例 #1
0
ファイル: FMODSource.py プロジェクト: Leon0r/ProyectoSonido
 def release(self):
     """
     stops the channel and set it to none
     """
     super().release()
     FMOD.stopChannel(self._channel)
     self._channel = None
コード例 #2
0
ファイル: FMODSource.py プロジェクト: Leon0r/ProyectoSonido
 def setSound(self, sound):
     """
     sets source's sound
     """
     FMOD.stopChannel(self._channel)
     self._sound = sound
     self._channel = FMOD.createChannel(self._sound, self._mode)