C# 클래스 BitOrchestra.Sound

An interface to a sound output for evaluators.
상속: IDisposable
파일 보기 프로젝트 열기: dzamkov/Bit-Orchestra 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Export ( string File, WaveStream Stream ) : bool

Tries exporting the given wavestream as a wave file.

Play ( WaveStream Stream ) : bool

Tries playing the sound from the given evaluator stream.

Sound ( ) : System
Stop ( ) : void

Stops playing this sound.

비공개 메소드들

메소드 설명
_Create ( IWavePlayer &Player ) : bool

Tries creating a wave player of some sort.

_CreateAsio ( IWavePlayer &Player ) : bool

Tries creating an asio interface.

_CreateDirectSound ( IWavePlayer &Player ) : bool

Tries creating a directsound interface.

_CreateWasapi ( IWavePlayer &Player ) : bool

Tries creating a wasapi interface.

_CreateWaveout ( IWavePlayer &Player ) : bool

Tries creating a waveout interface.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Export() 공개 정적인 메소드

Tries exporting the given wavestream as a wave file.
public static Export ( string File, WaveStream Stream ) : bool
File string
Stream NAudio.Wave.WaveStream
리턴 bool

Play() 공개 메소드

Tries playing the sound from the given evaluator stream.
public Play ( WaveStream Stream ) : bool
Stream NAudio.Wave.WaveStream
리턴 bool

Sound() 공개 메소드

public Sound ( ) : System
리턴 System

Stop() 공개 메소드

Stops playing this sound.
public Stop ( ) : void
리턴 void