Namespace: DeltaEngine.Multimedia
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Multimedia.Tests.SoundDeviceTests
1 unit tests call DeltaEngine.Multimedia.SoundDevice.IsPauseable
Assembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: BooleanRemarks
Examples
[Test, CloseAfterFirstFrame] public void PlayAndStopMusic() { var device = new MockSoundDevice(); Assert.IsFalse(device.IsPauseable); Assert.IsTrue(device.IsInitialized); var musicTime = ContentLoader.Load<Music>("DefaultMusic"); musicTime.StreamFinished = () => { }; musicTime.Play(); Assert.AreEqual(Settings.Current.MusicVolume, musicTime.Volume); device.RegisterCurrentMusic(musicTime); musicTime.Stop(); device.RapidUpdate(); musicTime.Loop = true; musicTime.Stop(); device.RapidUpdate(); device.Dispose(); }
See Also