C# Class MonoGame.Utilities.OggStream

Inheritance: IDisposable
Datei anzeigen Open project: procfxgen/MGShaderEditor Class Usage Examples

Private Properties

Property Type Description
Close void
Empty void
Open void
StopPlayback void

Public Methods

Method 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

Method Description
Close ( ) : void
Empty ( ) : void
Open ( bool precache = false ) : void
StopPlayback ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetLength() public method

public GetLength ( ) : System.TimeSpan
return System.TimeSpan

GetPosition() public method

public GetPosition ( ) : System.TimeSpan
return System.TimeSpan

GetState() public method

public GetState ( ) : ALSourceState
return ALSourceState

OggStream() public method

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

OggStream() public method

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

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void