Icarus.SoundEngine
Manages and plays an audio file
Reference to singleton SoundSettings class.
Responsible for MP3 music playback.
Thread that sleeps the duration a song plays, and replays the music file.
Music filename to be replayed.
Duration a music file has left to play.
Whether or not the music file being played should loop.
Sets the volume this music stream should play at.
Volume to play at.
Sets whether or not this music stream should loop.
Whether or not this music stream should loop.
Generate a new Music Stream
Used by a newly created thread to loop music.
Plays the music file looping at the established volume.
Music file to be played.
Plays the music file at the established volume.
Music file to be played.
Whether or not the file will be played looping.
Plays the established music file at the established music volume.
Stops any currently playing music.
Pauses music when music is currently playing.
Resumes music when music is paused.
This sets and accesses the filename for this music stream.
The SoundEngine of Icarus Game Engine.
Reference to singleton SoundSettings class.
Reference to next available SoundBuffer.
The device for the SoundEngine.
Overlays that plays music.
The cache of sounds to keep loaded.
The singleton class instance of this class.
Private singleton constructor.
Initializes the Device for the SoundEngine.
Returns true if successful, false if failed.
Sets the volume for game sounds.
Volume for sounds.
Accessor for the current volume for sounds.
Volume for sounds.
Sets the volume for game music.
Volume for music.
Accessor for the current volume for music.
Volume for music.
Plays a random sound from the directory specified.
Plays the sound file at the established sound volume.
File to be played.
true if successful, false if failed.
Plays all streams currently loaded with music.
Sets the music to be played from the id of the music file. Note that all other music will be stopped and cleared. This music will be set up, but playing won't be started yet.
Plays the music file on the specified MusicStream overlay.
File to be played.
Stream to be played on.
Stops all currently playing music.
Stops currently playing music on the specified MusicStream overlay.
Stream to be played on.
Pauses all currently playing music. DOES NOT RESUME.
Pauses music when music is currently playing and resumes music when music
is paused on the specified MusicStream overlay.
Stream to be paused on.
Stops and clears out all music buffers.
Gets the filename of the specified music stream.
Stream to be requested.
Music file name of the stream.
Set the next file to stream
fileName of the next file
stream to play on
Cleans out and removes a single music stream.
Stream to be removed.
Accessor/Modifier for the singleton class instance.
I am a singleton which can be used to retrieve Sound Engine settings.
Members are straightforward to access.
Singleton instance.
Maximum number of sound effects that can be simultaneously.
Maximum number of background music files that can be played simultaneously.
Volume for sound, ranging from 0 to 100.
Volume for music, ranging from 0 to 100.
Initializes the Sound Settings to the default values for the Game Engine.
Load the Sound Settings from fileName.
Loads defaults then overwrites them with values in File.
Name of File to load
Accessor/Modifier for singleton instance.
This sets and accesses the GLOBAL maximum number of
sound effects that can be played.
This sets and accesses the GLOBAL maximum number of
background music files that can be played.
This sets and accesses the GLOBAL value of volume for sound effects.
This sets and accesses the GLOBAL value of volume for background music.
Summary description for SoundTester.
Generic file path name holder for loading music and sound effects.
The reference to the singleton SoundEngine.
Currently selected overlay stream being manipulated.
Required designer variable.
Display the Sound Tester Form
Initialize the SoundTester form
Clean up any resources being used.
Required method for Designer support - do not modify
the contents of this method with the code editor.