C# 클래스 Unosquare.FFmpegMediaElement.AudioRenderer

Represents a calss that renders audio data to speakers via callbacks
상속: IDisposable
파일 보기 프로젝트 열기: bbougot/Popcorn 1 사용 예제들

공개 메소드들

메소드 설명
AudioRenderer ( ) : NAudio.Wave

Initializes a new instance of the AudioRenderer class.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Initialize ( IAudioDataProvider provider, int sampleRate, int channels, int bitsPerSample ) : bool

Initializes the specified provider.

Pause ( ) : void

Pauses the underlying audio device

Play ( ) : void

Plays the underlying audio device

Stop ( ) : void

Stops the underlying audio device

메소드 상세

AudioRenderer() 공개 메소드

Initializes a new instance of the AudioRenderer class.
public AudioRenderer ( ) : NAudio.Wave
리턴 NAudio.Wave

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Initialize() 공개 메소드

Initializes the specified provider.
Wave device already started
public Initialize ( IAudioDataProvider provider, int sampleRate, int channels, int bitsPerSample ) : bool
provider IAudioDataProvider The provider.
sampleRate int The sample rate.
channels int The channels.
bitsPerSample int The bits per sample.
리턴 bool

Pause() 공개 메소드

Pauses the underlying audio device
Wave device not started
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Plays the underlying audio device
Wave device not started
public Play ( ) : void
리턴 void

Stop() 공개 메소드

Stops the underlying audio device
Wave device not started
public Stop ( ) : void
리턴 void