mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
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
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
2007-11-07 Gert Driesen <[email protected]>
|
|
|
|
* 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.
|
|
|
|
2007-11-06 Sebastien Pouliot <[email protected]>
|
|
|
|
* 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.
|
|
|
|
2007-01-22 Alan McGovern <[email protected]>
|
|
|
|
* SoundPlayer.cs: Added support for loading from the filesystem
|
|
and loading from a HTTP based source.
|
|
|
|
2007-01-22 Miguel de Icaza <[email protected]>
|
|
|
|
* SoundPlayer.cs: Remove unused variables
|
|
|
|
2006-12-22 Sebastien Pouliot <[email protected]>
|
|
|
|
* SoundPlayer.cs: Hide default public ctor (to please corcompare)
|
|
* SystemSounds.cs: Add missing attribute and downgrade PlayLoop
|
|
visibility (to please corcompare)
|
|
|
|
Wed Dec 20 18:26:36 CET 2006 Paolo Molaro <[email protected]>
|
|
|
|
* AudioData.cs, AudioDevice.cs: small (alsa) audio device and
|
|
Wav file parsing implementation.
|
|
* SoundPlayer.cs, SystemSound.cs: implemented most of the methods.
|
|
|
|
Tue Dec 19 19:17:06 CET 2006 Paolo Molaro <[email protected]>
|
|
|
|
* SoundPlayer.cs, SystemSound.cs, SystemSounds.cs: first stubs
|
|
and partial implementation.
|
|
|