C# Class Sharpex2D.Audio.OpenAL.OpenALAudioBuffer

Inheritance: IDisposable
Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the object.

Initialize ( byte audioData, WaveFormat format ) : void

Initializes the OpenALAudioBuffer class.

Initialize ( byte audioData, WaveFormat format, int latency ) : void

Initializes the OpenALAudioBuffer class.

OpenALAudioBuffer ( OpenALAudioFormat format, OpenALDevice device ) : System

Initializes a new OpenALAudioBuffer class.

Pause ( ) : void

Pause the playback.

Play ( ) : void

Starts the playback.

Resume ( ) : void

Resumes the playback.

Seek ( long position ) : void

Seeks the source to the given position.

Stop ( ) : void

Stops the playback.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes the object.

Private Methods

Méthode Description
FillBuffer ( OpenALDataBuffer target ) : void

Fills the buffer.

RaisePlaybackChanged ( ) : void

Raises the PlaybackChanged event.

StartPlayback ( ) : void

Starts the playback.

Method Details

Dispose() public méthode

Disposes the object.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Disposes the object.
protected Dispose ( bool disposing ) : void
disposing bool The disposing state.
Résultat void

Initialize() public méthode

Initializes the OpenALAudioBuffer class.
public Initialize ( byte audioData, WaveFormat format ) : void
audioData byte The Buffer.
format WaveFormat The WaveFormat.
Résultat void

Initialize() public méthode

Initializes the OpenALAudioBuffer class.
public Initialize ( byte audioData, WaveFormat format, int latency ) : void
audioData byte The Buffer.
format WaveFormat The WaveFormat.
latency int The Latency.
Résultat void

OpenALAudioBuffer() public méthode

Initializes a new OpenALAudioBuffer class.
public OpenALAudioBuffer ( OpenALAudioFormat format, OpenALDevice device ) : System
format OpenALAudioFormat
device OpenALDevice
Résultat System

Pause() public méthode

Pause the playback.
public Pause ( ) : void
Résultat void

Play() public méthode

Starts the playback.
public Play ( ) : void
Résultat void

Resume() public méthode

Resumes the playback.
public Resume ( ) : void
Résultat void

Seek() public méthode

Seeks the source to the given position.
public Seek ( long position ) : void
position long The Position in ms.
Résultat void

Stop() public méthode

Stops the playback.
public Stop ( ) : void
Résultat void