Class Audio
- java.lang.Object
-
- nl.colorize.multimedialib.renderer.Audio
-
public abstract class Audio extends java.lang.ObjectRepresents an audio clip. Audio can be loaded from one of the common file formats (for example MP3 or OGG). The volume of audio clips can be set to a value between 0 and 100, where 100 indicates the audio clip's original volume. Audio clips stored in files are loaded using aMediaLoader.
-
-
Constructor Summary
Constructors Constructor Description Audio()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetVolume()booleanisLoop()abstract voidpause()abstract voidplay()voidsetLoop(boolean loop)voidsetVolume(int volume)abstract voidstop()
-