TriEngine  v0.0.16
General-purpose engine in C#/OpenGL
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
TriDevs.TriEngine.Audio.NullSong Class Reference

Fallback song class used in NullAudioManager. More...

Inheritance diagram for TriDevs.TriEngine.Audio.NullSong:
[legend]
Collaboration diagram for TriDevs.TriEngine.Audio.NullSong:
[legend]

Public Member Functions

void Dispose ()
 
void Play ()
 Starts playback of the song. More...
 
void Stop ()
 Stops playback of the song. More...
 
void Pause ()
 Pauses playback of the song. More...
 
void Resume ()
 Resumes playback of a paused song. More...
 

Properties

string Name [get]
 
string File [get]
 
float Volume [get, set]
 
bool IsLooped [get, set]
 
- Properties inherited from TriDevs.TriEngine.Audio.ISong
string File [get]
 Gets the file this song was loaded from. More...
 
float Volume [get, set]
 Gets or sets the song volume. More...
 
bool IsLooped [get, set]
 Gets or sets a value indicating that the song should be looped once it reaches the end. More...
 
- Properties inherited from TriDevs.TriEngine.Resources.IResource
string Name [get]
 Gets the name associated with this resource. More...
 

Detailed Description

Fallback song class used in NullAudioManager.

Member Function Documentation

void TriDevs.TriEngine.Audio.NullSong.Dispose ( )
37  {
38 
39  }
void TriDevs.TriEngine.Audio.NullSong.Pause ( )

Pauses playback of the song.

Call the Resume or Play method to resume playback.

Implements TriDevs.TriEngine.Audio.ISong.

52  {
53 
54  }
void TriDevs.TriEngine.Audio.NullSong.Play ( )

Starts playback of the song.

Implements TriDevs.TriEngine.Audio.ISong.

42  {
43 
44  }
void TriDevs.TriEngine.Audio.NullSong.Resume ( )

Resumes playback of a paused song.

Implements TriDevs.TriEngine.Audio.ISong.

57  {
58 
59  }
void TriDevs.TriEngine.Audio.NullSong.Stop ( )

Stops playback of the song.

Implements TriDevs.TriEngine.Audio.ISong.

47  {
48 
49  }

Property Documentation

string TriDevs.TriEngine.Audio.NullSong.File
get
bool TriDevs.TriEngine.Audio.NullSong.IsLooped
getset
string TriDevs.TriEngine.Audio.NullSong.Name
get
float TriDevs.TriEngine.Audio.NullSong.Volume
getset

The documentation for this class was generated from the following file: