Class providing sound effect playback features. More...
Public Member Functions | |
void | Dispose () |
Frees unmanaged resources of SoundPlayer. | |
void | Play () |
Plays back sound effects. | |
void | Stop () |
Stops sound effects. | |
Properties | |
SoundStatus | Status [get] |
States of sound effects. | |
float | Volume [get, set] |
Volume (0.0-1.0) | |
float | Pan [get, set] |
Left/right voice position (-1.0-1.0) | |
bool | Loop [get, set] |
Loop playback. | |
float | PlaybackRate [get, set] |
Playback speed and pitch (0.25-4.0) | |
double | Time [get, set] |
Playback time (seconds) | |
double | Duration [get] |
Playback duration (seconds) |
Class providing sound effect playback features.