Summary
The way SoundPlayer was meant to be, but someone screwed it up. This is the official MS workaround.
Constructors
| Creates a new player using the specified stream as the source of wave data to play. |
| Creates a new player. |
Instance methods
void | | Disposes of the class |
void | | Loads the wave data to play from the specified stream. The stream can be closed immediately afterwards. |
void | | Plays the loaded file once, asynchronously. |
void | | Plays the loaded file forever in a loop, asynchronously. This class provides no methods for stopping this. |
Instance properties
byte[] | | Gets or sets the bytes representing the wave data to be played. |