public class SoundManager extends BaseAudioManager<Sound> implements android.media.SoundPool.OnLoadCompleteListener
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_SIMULTANEOUS_STREAMS_DEFAULT |
mAudioEntities, mMasterVolume| Constructor and Description |
|---|
SoundManager() |
SoundManager(int pMaxSimultaneousStreams) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Sound pSound) |
void |
onLoadComplete(android.media.SoundPool pSoundPool,
int pSoundID,
int pStatus) |
void |
releaseAll() |
boolean |
remove(Sound pSound) |
getMasterVolume, setMasterVolumepublic static final int MAX_SIMULTANEOUS_STREAMS_DEFAULT
public SoundManager()
public SoundManager(int pMaxSimultaneousStreams)
public void add(Sound pSound)
add in interface IAudioManager<Sound>add in class BaseAudioManager<Sound>public boolean remove(Sound pSound)
remove in interface IAudioManager<Sound>remove in class BaseAudioManager<Sound>public void releaseAll()
releaseAll in interface IAudioManager<Sound>releaseAll in class BaseAudioManager<Sound>public void onLoadComplete(android.media.SoundPool pSoundPool,
int pSoundID,
int pStatus)
onLoadComplete in interface android.media.SoundPool.OnLoadCompleteListener