C# 클래스 RhythmCodex.Plugin.CSCore.Lib.Codecs.FLAC.FlacFrame

Represents a frame inside of an Flac-Stream.
상속: IDisposable
파일 보기 프로젝트 열기: SaxxonPike/RhythmCodex 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Disposes the FlacFrame and releases all associated resources.

FromStream ( Stream stream ) : FlacFrame

Creates a new instance of the FlacFrame class based on the specified stream.

FromStream ( Stream stream, FlacMetadataStreamInfo streamInfo ) : FlacFrame

Creates a new instance of the FlacFrame class based on the specified stream and some basic stream information.

GetBuffer ( Memory &mem ) : int

Gets the raw pcm data of the flac frame.

NextFrame ( ) : bool

Tries to read the next flac frame inside of the specified stream and returns a value which indicates whether the next flac frame could be successfully read.

비공개 메소드들

메소드 설명
AllocOuputMemory ( ) : List
Decode ( Stream stream, FlacMetadataStreamInfo streamInfo ) : void
FlacFrame ( Stream stream, FlacMetadataStreamInfo streamInfo = null ) : System
FreeBuffers ( ) : void
MapToChannels ( List subFrames ) : void
ReadSubFrames ( ) : void

메소드 상세

Dispose() 공개 메소드

Disposes the FlacFrame and releases all associated resources.
public Dispose ( ) : void
리턴 void

FromStream() 공개 정적인 메소드

Creates a new instance of the FlacFrame class based on the specified stream.
public static FromStream ( Stream stream ) : FlacFrame
stream Stream The stream which contains the flac frame.
리턴 FlacFrame

FromStream() 공개 정적인 메소드

Creates a new instance of the FlacFrame class based on the specified stream and some basic stream information.
public static FromStream ( Stream stream, FlacMetadataStreamInfo streamInfo ) : FlacFrame
stream Stream The stream which contains the flac frame.
streamInfo FlacMetadataStreamInfo Some basic information about the flac stream.
리턴 FlacFrame

GetBuffer() 공개 메소드

Gets the raw pcm data of the flac frame.
public GetBuffer ( Memory &mem ) : int
mem Memory
리턴 int

NextFrame() 공개 메소드

Tries to read the next flac frame inside of the specified stream and returns a value which indicates whether the next flac frame could be successfully read.
public NextFrame ( ) : bool
리턴 bool