public class SoundGroup extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes this sound group, freeing up the OpenAL sources with which it is associated.
|
float |
getBaseGain()
Returns the base gain for this group, or -1 if inherited from the manager.
|
Sound |
getSound(String path)
Obtains an "instance" of the specified sound which can be positioned, played, looped and
otherwise used to make noise.
|
void |
preloadClip(String path)
Queues up the specified sound clip for pre-loading into the cache.
|
void |
reclaimAll()
Stops and reclaims all sounds from this sound group but does not free the sources.
|
void |
setBaseGain(float gain)
Sets the base gain for this group, or -1 to inherit from the manager (the default).
|
public void setBaseGain(float gain)
public float getBaseGain()
public void preloadClip(String path)
public Sound getSound(String path)
public void dispose()
public void reclaimAll()
Copyright © 2015. All rights reserved.