public static class SoundPlayer.PlaySoundParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
loopControl
-1 means playing loops forever, 0 is play once, 1 is play twice, etc
|
float |
rate
playback rate (1.0 = normal playback, range 0.5 to 2.0)
|
float |
volume
an additional volume scaling that will be applied to this particular play action
|
boolean |
waitForNonLoopingSoundsToFinish
whether to wait for any currently-playing non-looping sound to finish before playing
|
Constructor and Description |
---|
PlaySoundParams() |
PlaySoundParams(boolean wait) |
PlaySoundParams(SoundPlayer.PlaySoundParams them) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLooping() |
public float volume
public boolean waitForNonLoopingSoundsToFinish
public int loopControl
public float rate
public PlaySoundParams()
public PlaySoundParams(boolean wait)
public PlaySoundParams(SoundPlayer.PlaySoundParams them)