C# 클래스 Sharpex2D.Audio.WaveOut.WaveOutAudioProvider

상속: IAudioProvider
파일 보기 프로젝트 열기: ThuCommix/Sharpex2D

공개 메소드들

메소드 설명
CreateAudioSource ( string path ) : IAudioSource

Creates an AudioSource.

Dispose ( ) : void

Disposes the object.

Initialize ( IAudioSource audioSource ) : void

Initializes the audio provider with the given audio source.

Pause ( ) : void

Pause a sound.

Play ( PlaybackMode playbackMode ) : void

Plays the sound.

Resume ( ) : void

Resumes a sound.

Seek ( long position ) : void

Seeks a sound to a specified position.

Stop ( ) : void

Stops the sound.

WaveOutAudioProvider ( ) : System

Initializes a new WaveOutProvider class.

보호된 메소드들

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

Disposes the object.

비공개 메소드들

메소드 설명
PlaybackChangedEvent ( object sender, EventArgs e ) : void

Triggered if the playback state changed.

메소드 상세

CreateAudioSource() 공개 메소드

Creates an AudioSource.
public CreateAudioSource ( string path ) : IAudioSource
path string The Path.
리턴 IAudioSource

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 audio provider with the given audio source.
public Initialize ( IAudioSource audioSource ) : void
audioSource IAudioSource The AudioSource.
리턴 void

Pause() 공개 메소드

Pause a sound.
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Plays the sound.
public Play ( PlaybackMode playbackMode ) : void
playbackMode PlaybackMode The PlaybackMode.
리턴 void

Resume() 공개 메소드

Resumes a sound.
public Resume ( ) : void
리턴 void

Seek() 공개 메소드

Seeks a sound to a specified position.
public Seek ( long position ) : void
position long The Position.
리턴 void

Stop() 공개 메소드

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

WaveOutAudioProvider() 공개 메소드

Initializes a new WaveOutProvider class.
public WaveOutAudioProvider ( ) : System
리턴 System