Browse Source

sound ival cutoff fix

Przemyslaw Iwanowski 17 years ago
parent
commit
3b2fa8da18
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/interval/SoundInterval.py

+ 1 - 1
direct/src/interval/SoundInterval.py

@@ -93,7 +93,7 @@ class SoundInterval(Interval.Interval):
         if (t1 < self.soundDuration) and not (self._seamlessLoop and self._soundPlaying):
         if (t1 < self.soundDuration) and not (self._seamlessLoop and self._soundPlaying):
             base.sfxPlayer.playSfx(
             base.sfxPlayer.playSfx(
                 self.sound, self.fLoop, 1, self.volume, t1, self.node,
                 self.sound, self.fLoop, 1, self.volume, t1, self.node,
-                listenerNode = self.listenerNode)
+                listenerNode = self.listenerNode, cutoff = self.cutOff)
             self._soundPlaying = True
             self._soundPlaying = True
         self.state = CInterval.SStarted
         self.state = CInterval.SStarted
         self.currT = t
         self.currT = t