MockSoundDevice ClassDelta Engine Documentation
Mocks a device to speed up unit testing of sound effects and music. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Entities Entity
    DeltaEngine.Multimedia SoundDevice
      DeltaEngine.Multimedia.Mocks MockSoundDevice

Namespace: DeltaEngine.Multimedia.Mocks
Assembly: DeltaEngine.Multimedia.Mocks (in DeltaEngine.Multimedia.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class MockSoundDevice : SoundDevice

The MockSoundDevice type exposes the following members.

Constructors

  NameDescription
Public methodMockSoundDevice
Initializes a new instance of the MockSoundDevice class
Top
Methods

  NameDescription
Public methodAdd T  (Inherited from Entity.)
Public methodAddTag (Inherited from Entity.)
Public methodClearTags (Inherited from Entity.)
Public methodContains T  (Inherited from Entity.)
Public methodContainsBehavior T  (Inherited from Entity.)
Public methodContainsTag (Inherited from Entity.)
Protected methodDeactivate (Inherited from Entity.)
Public methodDispose (Inherited from SoundDevice.)
Public methodGet T 
Gets a specific component, derived classes can return faster cached values (e.g. Entity2D) View code on GitHub
(Inherited from Entity.)
Protected methodGetActiveBehaviors (Inherited from Entity.)
Protected methodGetComponentsForSaving (Inherited from Entity.)
Public methodGetOrDefault T  (Inherited from Entity.)
Public methodGetTags (Inherited from Entity.)
Public methodRapidUpdate (Inherited from SoundDevice.)
Public methodRegisterCurrentMusic (Inherited from SoundDevice.)
Public methodRegisterCurrentVideo (Inherited from SoundDevice.)
Public methodRemove T  (Inherited from Entity.)
Public methodRemoveTag (Inherited from Entity.)
Public methodSet (Inherited from Entity.)
Public methodSetComponents (Inherited from Entity.)
Public methodStart T  (Inherited from Entity.)
Public methodStop T  (Inherited from Entity.)
Public methodToString (Inherited from Entity.)
Public methodTryLoadMusicStream (Overrides SoundDevice TryLoadMusicStream(Stream, String).)
Top
Fields

  NameDescription
Protected fieldcomponents (Inherited from Entity.)
Top
Properties

  NameDescription
Public propertyIsActive (Inherited from Entity.)
Public propertyIsInitialized
Public propertyIsPauseable (Inherited from SoundDevice.)
Public propertyMusicVolume (Inherited from SoundDevice.)
Public propertyNumberOfComponents (Inherited from Entity.)
Public propertyUpdatePriority (Inherited from Entity.)
Top
See Also