C# 클래스 Unosquare.FFmpegMediaElement.FFmpegMedia.AudioBufferProvider

Provides audio data samples in PCM, 16-bit format. This class is used to keep track of the samples and matching frames times It also ensures samples are not repeated and are unique in a discrete timeline
파일 보기 프로젝트 열기: bbougot/Popcorn

공개 메소드들

메소드 설명
AudioBufferProvider ( FFmpegMedia media ) : System.Collections.Generic

Initializes a new instance of the AudioBufferProvider class.

Clear ( ) : void

Clears the buffer and frame times

ProvideNext ( byte bufferToFill ) : int

Provides the next small buffer that the audio device requests. the buffer to fill is a non-null reference to the buffer that needs to be filled The return value represents how many bytes were written to buffer.

메소드 상세

AudioBufferProvider() 공개 메소드

Initializes a new instance of the AudioBufferProvider class.
public AudioBufferProvider ( FFmpegMedia media ) : System.Collections.Generic
media FFmpegMedia The media.
리턴 System.Collections.Generic

Clear() 공개 메소드

Clears the buffer and frame times
public Clear ( ) : void
리턴 void

ProvideNext() 공개 메소드

Provides the next small buffer that the audio device requests. the buffer to fill is a non-null reference to the buffer that needs to be filled The return value represents how many bytes were written to buffer.
public ProvideNext ( byte bufferToFill ) : int
bufferToFill byte
리턴 int