SFML.Net
Music Methods |
The Music type exposes the following members.

Name | Description | |
---|---|---|
![]() |
Destroy |
Handle the destruction of the object
(Overrides ObjectBaseDestroy(Boolean).) |
![]() |
Dispose |
Explicitely dispose the object
(Inherited from ObjectBase.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) |
![]() |
Finalize |
Dispose the object
(Inherited from ObjectBase.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
Pause |
Pause the audio stream.
This function pauses the stream if it was playing,
otherwise (stream already paused or stopped) it has no effect.
|
![]() |
Play |
Start or resume playing the audio stream.
This function starts the stream if it was stopped, resumes
it if it was paused, and restarts it from beginning if it
was it already playing.
This function uses its own thread so that it doesn't block
the rest of the program while the stream is played.
|
![]() |
Stop |
Stop playing the audio stream.
This function stops the stream if it was playing or paused,
and does nothing if it was already stopped.
It also resets the playing position (unlike Pause()).
|
![]() |
ToString |
Provide a string describing the object
(Overrides ObjectToString.) |
