Fixed ctor (Stream) to allow null argument. In LoadFromUri, first
reset mstream to support resetting Stream to null. Support playing
default sound. Allow Stream to be set to null. Reset AudioData and
WaveData when new stream is loaded.
* Win32SoundPlayer.cs: Wrapper for PlaySound Win32 API.
* System.dll.sources: Added Win32SoundPlayer.cs.
* SoundPlayerTest.cs: Added trivial ctor tests. Added test for
Stream property.
svn path=/trunk/mcs/; revision=89112
* AudioData.cs: Reset stream to position 0 before playing (required
when playing the audio in a loop). Part of the fix for bug #338991.
* SoundPlayer.cs: Only create the AudioData once (and reuse it).
Part of the fix for bug #338991.
svn path=/trunk/mcs/; revision=89027
* AudioData.cs, AudioDevice.cs: small (alsa) audio device and
Wav file parsing implementation.
* SoundPlayer.cs, SystemSound.cs: implemented most of the methods.
svn path=/trunk/mcs/; revision=69824