SoundPlayer Constructor (Stream)
.NET Framework (current version)
Initializes a new instance of the SoundPlayer class, and attaches the .wav file within the specified Stream.
System (in System.dll)
The Stream passed to the stream parameter should be a Stream containing a .wav file. The data returned by the Read method of the Stream should be the data within a .wav file.
Return to top
Available since 2.0