Mocks music to speed up unit testing of multimedia.
View code on GitHub
Inheritance Hierarchy
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
The MockMusic type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockMusic | Initializes a new instance of the MockMusic class |
Methods
Name | Description | |
---|---|---|
CreateDefault | (Inherited from ContentData.) | |
Dispose | (Inherited from ContentData.) | |
DisposeData | (Inherited from Music.) | |
HandleStreamFinished | (Inherited from Music.) | |
InternalCreateDefault | (Inherited from ContentData.) | |
IsPlaying | (Overrides Music IsPlaying .) | |
LoadData | (Overrides ContentData LoadData(Stream).) | |
Play | (Inherited from Music.) | |
Play(Single) | (Inherited from Music.) | |
PlayNativeMusic | (Overrides Music PlayNativeMusic .) | |
SetPlayingVolume | (Overrides Music SetPlayingVolume(Single).) | |
Stop | (Inherited from Music.) | |
StopNativeMusic | (Overrides Music StopNativeMusic .) | |
ToString | (Inherited from ContentData.) | |
UpdateStateAndPosition | (Overrides Music UpdateStateAndPosition .) |
Fields
Name | Description | |
---|---|---|
cachedVolume | (Inherited from Music.) | |
ContentChanged | (Inherited from ContentData.) | |
device | (Inherited from Music.) | |
StreamFinished | (Inherited from Music.) |
Properties
Name | Description | |
---|---|---|
AllowCreationIfContentNotFound | (Inherited from Music.) | |
DurationInSeconds | (Overrides Music DurationInSeconds.) | |
IsDisposed | (Inherited from ContentData.) | |
Loop | (Inherited from Music.) | |
MetaData | (Inherited from ContentData.) | |
MusicStopCalled | ||
Name | (Inherited from ContentData.) | |
PositionInSeconds | (Overrides Music PositionInSeconds.) | |
Volume | (Inherited from Music.) |
See Also