com.threerings.openal
Class SoundClipManager

java.lang.Object
  extended by com.threerings.openal.SoundClipManager

public class SoundClipManager
extends Object


Constructor Summary
SoundClipManager(AlContext ctx)
          Creates a sound clip manager.
 
Method Summary
 void playSound(com.threerings.openal.Sound sound, float gain)
          Registers and plays a sound using the clip manager.
 void tick(float elapsed)
          Updates the sounds currently played.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoundClipManager

public SoundClipManager(AlContext ctx)
Creates a sound clip manager.

Method Detail

playSound

public void playSound(com.threerings.openal.Sound sound,
                      float gain)
Registers and plays a sound using the clip manager.


tick

public void tick(float elapsed)
Updates the sounds currently played.



Copyright © 2011. All Rights Reserved.