C# 클래스 NVorbis.VorbisReader

상속: IDisposable
파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

Private Properties

프로퍼티 타입 설명
LoadContainer bool
NewStream void
VorbisReader System

공개 메소드들

메소드 설명
ClearParameterChange ( ) : void

Clears the parameter change flag so further samples can be requested.

Dispose ( ) : void
FindNextStream ( ) : bool

Searches for the next stream in a concatenated file

ReadSamples ( float buffer, int offset, int count ) : int

Reads decoded samples from the current logical stream

SwitchStreams ( int index ) : bool

Switches to an alternate logical stream.

VorbisReader ( IContainerReader containerReader ) : System
VorbisReader ( IPacketProvider packetProvider ) : System
VorbisReader ( Stream stream, bool closeStreamOnDispose ) : System
VorbisReader ( string fileName ) : System

비공개 메소드들

메소드 설명
LoadContainer ( IContainerReader containerReader ) : bool
NewStream ( object sender, NewStreamEventArgs ea ) : void
VorbisReader ( ) : System

메소드 상세

ClearParameterChange() 공개 메소드

Clears the parameter change flag so further samples can be requested.
public ClearParameterChange ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FindNextStream() 공개 메소드

Searches for the next stream in a concatenated file
public FindNextStream ( ) : bool
리턴 bool

ReadSamples() 공개 메소드

Reads decoded samples from the current logical stream
public ReadSamples ( float buffer, int offset, int count ) : int
buffer float The buffer to write the samples to
offset int The offset into the buffer to write the samples to
count int The number of samples to write
리턴 int

SwitchStreams() 공개 메소드

Switches to an alternate logical stream.
public SwitchStreams ( int index ) : bool
index int The logical stream index to switch to
리턴 bool

VorbisReader() 공개 메소드

public VorbisReader ( IContainerReader containerReader ) : System
containerReader IContainerReader
리턴 System

VorbisReader() 공개 메소드

public VorbisReader ( IPacketProvider packetProvider ) : System
packetProvider IPacketProvider
리턴 System

VorbisReader() 공개 메소드

public VorbisReader ( Stream stream, bool closeStreamOnDispose ) : System
stream Stream
closeStreamOnDispose bool
리턴 System

VorbisReader() 공개 메소드

public VorbisReader ( string fileName ) : System
fileName string
리턴 System