public class SoundPool
extends java.lang.Object
Constructor and Description |
---|
SoundPool(ResourceManager par1ResourceManager,
java.lang.String par2Str,
boolean par3) |
Modifier and Type | Method and Description |
---|---|
void |
addSound(java.lang.String par1Str)
Adds a sound to this sound pool.
|
SoundPoolEntry |
getRandomSound()
Gets a random SoundPoolEntry.
|
SoundPoolEntry |
getRandomSoundFromSoundPool(java.lang.String par1Str)
gets a random sound from the specified (by name, can be sound/newsound/streaming/music/newmusic) sound pool.
|
public SoundPool(ResourceManager par1ResourceManager, java.lang.String par2Str, boolean par3)
public void addSound(java.lang.String par1Str)
public SoundPoolEntry getRandomSoundFromSoundPool(java.lang.String par1Str)
public SoundPoolEntry getRandomSound()