* SoundPlayer.cs: Addded support for playing WAV files on Windows.
authorGert Driesen <drieseng@users.sourceforge.net>
Wed, 7 Nov 2007 15:56:33 +0000 (15:56 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Wed, 7 Nov 2007 15:56:33 +0000 (15:56 -0000)
commit5033e8f789fccfc0d4de1cc1aa10574a52793be9
treef838bea514ebabd7dde1a2186024ee2712b5c4d5
parent3ab92af0c991c4340eb721dfbaf7f2b7aa81481f
* SoundPlayer.cs: Addded support for playing WAV files on Windows.
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
mcs/class/System/ChangeLog
mcs/class/System/System.Media/ChangeLog
mcs/class/System/System.Media/SoundPlayer.cs
mcs/class/System/System.Media/Win32SoundPlayer.cs [new file with mode: 0644]
mcs/class/System/System.dll.sources
mcs/class/System/Test/System.Media/ChangeLog [new file with mode: 0644]
mcs/class/System/Test/System.Media/SoundPlayerTest.cs