Package de.gurkenlabs.litiengine.sound
package de.gurkenlabs.litiengine.sound
-
ClassDescriptionA
Track
that plays an intro sound and then loops the specified music sound.ASoundPlayback
implementation for the playback music.ASoundPlayback
implementation for the playback of sound effects.ATrack
that 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.ThisSoundEngine
class provides all methods to play back sounds and music in your game.This implementation is used for all events that need to pass aSound
object to their listeners.TheSoundPlayback
class is a wrapperSourceDataLine
on which aSound
playback can be carried out.This event listener implementation provides callbacks for when aSoundPlayback
instance gets cancelled or finished.TheTrack
class defines a sequence in which musicSounds
should be played back by the engine.