public interface Sound
| Modifier and Type | Method and Description |
|---|---|
AudioFormat |
getFormat()
Get's the
AudioFormat of this sound |
int |
getFrameLength()
Get's the length of the sound, expressed in sample frames rather than bytes.
|
SoundPlayer |
getInfiniteLoopPlayer()
Get a sound player that will play this audio for ever.
|
SoundPlayer |
getLoopPlayer(int loopCount)
Get a sound player that will play this audio the given amount of times.
|
SoundPlayer |
getSinglePlayer()
Get a sound player that will play this audio once.
|
SoundPlayer getSinglePlayer()
SoundPlayer.SoundPlayer getLoopPlayer(int loopCount)
loopCount - How often to loop. Must be greater 0SoundPlayerSoundPlayer getInfiniteLoopPlayer()
SoundPlayerint getFrameLength()
AudioFormat getFormat()
AudioFormat of this soundCopyright © 2018. All rights reserved.