Sound class that can be used with the AudioManager.
More...
|
string | Name [get] |
|
string | File [get] |
|
string | File [get] |
| Gets the file this sound was created from. More...
|
|
string | Name [get] |
| Gets the name associated with this resource. More...
|
|
Sound class that can be used with the AudioManager.
void TriDevs.TriEngine.Audio.Sound.Dispose |
( |
| ) |
|
189 AL.DeleteSources(_sources);
190 AL.DeleteBuffer(_buffer);
void TriDevs.TriEngine.Audio.Sound.Play |
( |
| ) |
|
Plays the sound.
Implements TriDevs.TriEngine.Audio.ISound.
170 for (var i = 0; i < SourceCount; i++)
172 if (GetSourceState(_sources[i]) != ALSourceState.Playing)
174 AL.SourcePlay(_sources[i]);
void TriDevs.TriEngine.Audio.Sound.Stop |
( |
| ) |
|
string TriDevs.TriEngine.Audio.Sound.File |
|
get |
string TriDevs.TriEngine.Audio.Sound.Name |
|
get |
The documentation for this class was generated from the following file: