C# 클래스 FlacLibSharp.FlacFile

Parses FLAC data from the given stream of file.
Only metadata parsing is currently implemented, decoding frames is THE big TODO.
상속: IDisposable
파일 보기 프로젝트 열기: AaronLenoir/flaclibsharp 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Releases the loaded flac file.

FlacFile ( Stream data ) : System

Open a flac file from a stream of data

Stream is assumed to be at the beginning of the FLAC data

FlacFile ( string path ) : System

Open a Flac File

GetAllApplicationInfo ( ) : IEnumerable

Returns all ApplicationInfo metadata blocks (if there are any) of the loaded Flac file.

GetAllCueSheets ( ) : IEnumerable

Returns all CueSheet metadata blocks (if there are any) of the loaded Flac file.

GetAllPadding ( ) : IEnumerable

Returns all Padding metadata blocks (if there are any) of the loaded Flac file.

GetAllPictures ( ) : List

Will return all Picture blocks available in the Flac file, or an empty list of none are found.

Save ( ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
Initialize ( ) : void

Verifies the flac identity and tries to load the available metadata blocks.

ReadMetadata ( ) : void

Tries to parse all the metadata blocks available in the file.

비공개 메소드들

메소드 설명
VerifyFlacIdentity ( ) : void

Verifies whether or not the first four bytes of the file indicate this is a flac file.

메소드 상세

Dispose() 공개 메소드

Releases the loaded flac file.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

FlacFile() 공개 메소드

Open a flac file from a stream of data
Stream is assumed to be at the beginning of the FLAC data
public FlacFile ( Stream data ) : System
data Stream Any stream of data
리턴 System

FlacFile() 공개 메소드

Open a Flac File
public FlacFile ( string path ) : System
path string Path to the file.
리턴 System

GetAllApplicationInfo() 공개 메소드

Returns all ApplicationInfo metadata blocks (if there are any) of the loaded Flac file.
public GetAllApplicationInfo ( ) : IEnumerable
리턴 IEnumerable

GetAllCueSheets() 공개 메소드

Returns all CueSheet metadata blocks (if there are any) of the loaded Flac file.
public GetAllCueSheets ( ) : IEnumerable
리턴 IEnumerable

GetAllPadding() 공개 메소드

Returns all Padding metadata blocks (if there are any) of the loaded Flac file.
public GetAllPadding ( ) : IEnumerable
리턴 IEnumerable

GetAllPictures() 공개 메소드

Will return all Picture blocks available in the Flac file, or an empty list of none are found.
public GetAllPictures ( ) : List
리턴 List

Initialize() 보호된 메소드

Verifies the flac identity and tries to load the available metadata blocks.
protected Initialize ( ) : void
리턴 void

ReadMetadata() 보호된 메소드

Tries to parse all the metadata blocks available in the file.
protected ReadMetadata ( ) : void
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void