Package de.gurkenlabs.litiengine.sound
package de.gurkenlabs.litiengine.sound
-
ClassDescriptionA
Trackthat plays an intro sound and then loops the specified music sound.ASoundPlaybackimplementation for the playback music.ASoundPlaybackimplementation for the playback of sound effects.ATrackthat plays a sound once and then stops.This class implements all required functionality to load sounds from the file system and provide a stream that can later on be used for the sound playback.ThisSoundEngineclass provides all methods to play back sounds and music in your game.This implementation is used for all events that need to pass aSoundobject to their listeners.TheSoundPlaybackclass is a wrapperSourceDataLineon which aSoundplayback can be carried out.This event listener implementation provides callbacks for when aSoundPlaybackinstance gets cancelled or finished.TheTrackclass defines a sequence in which musicSoundsshould be played back by the engine.