MockMusic ClassDelta Engine Documentation
Mocks music to speed up unit testing of multimedia. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Content ContentData
    DeltaEngine.Multimedia Music
      DeltaEngine.Multimedia.Mocks MockMusic

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

public class MockMusic : Music

The MockMusic type exposes the following members.

Constructors

  NameDescription
Public methodMockMusic
Initializes a new instance of the MockMusic class
Top
Methods

  NameDescription
Protected methodCreateDefault (Inherited from ContentData.)
Public methodDispose (Inherited from ContentData.)
Protected methodDisposeData (Inherited from Music.)
Protected methodHandleStreamFinished (Inherited from Music.)
Public methodInternalCreateDefault (Inherited from ContentData.)
Public methodIsPlaying (Overrides Music IsPlaying .)
Protected methodLoadData (Overrides ContentData LoadData(Stream).)
Public methodPlay  (Inherited from Music.)
Public methodPlay(Single) (Inherited from Music.)
Protected methodPlayNativeMusic (Overrides Music PlayNativeMusic .)
Protected methodSetPlayingVolume (Overrides Music SetPlayingVolume(Single).)
Public methodStop (Inherited from Music.)
Protected methodStopNativeMusic (Overrides Music StopNativeMusic .)
Public methodToString (Inherited from ContentData.)
Public methodUpdateStateAndPosition (Overrides Music UpdateStateAndPosition .)
Top
Fields

  NameDescription
Protected fieldcachedVolume (Inherited from Music.)
Protected fieldContentChanged (Inherited from ContentData.)
Protected fielddevice (Inherited from Music.)
Public fieldStreamFinished (Inherited from Music.)
Top
Properties

  NameDescription
Protected propertyAllowCreationIfContentNotFound (Inherited from Music.)
Public propertyDurationInSeconds (Overrides Music DurationInSeconds.)
Public propertyIsDisposed (Inherited from ContentData.)
Public propertyLoop (Inherited from Music.)
Public propertyMetaData (Inherited from ContentData.)
Public propertyStatic memberMusicStopCalled
Public propertyName (Inherited from ContentData.)
Public propertyPositionInSeconds (Overrides Music PositionInSeconds.)
Public propertyVolume (Inherited from Music.)
Top
See Also