C# Class MonoGame.Utilities.OggStream

Inheritance: IDisposable
Afficher le fichier Open project: procfxgen/MGShaderEditor Class Usage Examples

Private Properties

Свойство Type Description
Close void
Empty void
Open void
StopPlayback void

Méthodes publiques

Méthode Description
Dispose ( ) : void
GetLength ( ) : System.TimeSpan
GetPosition ( ) : System.TimeSpan
GetState ( ) : ALSourceState
OggStream ( Stream stream, System.Action finishedAction = null, int bufferCount = DefaultBufferCount ) : System
OggStream ( string filename, System.Action finishedAction = null, int bufferCount = DefaultBufferCount ) : System
Pause ( ) : void
Play ( ) : void
Prepare ( ) : void
Resume ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
Close ( ) : void
Empty ( ) : void
Open ( bool precache = false ) : void
StopPlayback ( ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetLength() public méthode

public GetLength ( ) : System.TimeSpan
Résultat System.TimeSpan

GetPosition() public méthode

public GetPosition ( ) : System.TimeSpan
Résultat System.TimeSpan

GetState() public méthode

public GetState ( ) : ALSourceState
Résultat ALSourceState

OggStream() public méthode

public OggStream ( Stream stream, System.Action finishedAction = null, int bufferCount = DefaultBufferCount ) : System
stream Stream
finishedAction System.Action
bufferCount int
Résultat System

OggStream() public méthode

public OggStream ( string filename, System.Action finishedAction = null, int bufferCount = DefaultBufferCount ) : System
filename string
finishedAction System.Action
bufferCount int
Résultat System

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Prepare() public méthode

public Prepare ( ) : void
Résultat void

Resume() public méthode

public Resume ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void