C# 클래스 Sharpex2D.Audio.OpenAL.OpenALAudioBuffer

상속: IDisposable
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes the object.

비공개 메소드들

메소드 설명
FillBuffer ( OpenALDataBuffer target ) : void

Fills the buffer.

RaisePlaybackChanged ( ) : void

Raises the PlaybackChanged event.

StartPlayback ( ) : void

Starts the playback.

메소드 상세

Dispose() 공개 메소드

Disposes the object.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes the object.
protected Dispose ( bool disposing ) : void
disposing bool The disposing state.
리턴 void

Initialize() 공개 메소드

Initializes the OpenALAudioBuffer class.
public Initialize ( byte audioData, WaveFormat format ) : void
audioData byte The Buffer.
format WaveFormat The WaveFormat.
리턴 void

Initialize() 공개 메소드

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.
리턴 void

OpenALAudioBuffer() 공개 메소드

Initializes a new OpenALAudioBuffer class.
public OpenALAudioBuffer ( OpenALAudioFormat format, OpenALDevice device ) : System
format OpenALAudioFormat
device OpenALDevice
리턴 System

Pause() 공개 메소드

Pause the playback.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Starts the playback.
public Play ( ) : void
리턴 void

Resume() 공개 메소드

Resumes the playback.
public Resume ( ) : void
리턴 void

Seek() 공개 메소드

Seeks the source to the given position.
public Seek ( long position ) : void
position long The Position in ms.
리턴 void

Stop() 공개 메소드

Stops the playback.
public Stop ( ) : void
리턴 void