C# 클래스 NAudio.Wave.CueList

Holds a list of cues
The specs for reading and writing cues from the cue and list RIFF chunks are from http://www.sonicspot.com/guide/wavefiles.html and http://www.wotsit.org/ ------------------------------ The cues are stored like this: ------------------------------ struct CuePoint { Int32 dwIdentifier; Int32 dwPosition; Int32 fccChunk; Int32 dwChunkStart; Int32 dwBlockStart; Int32 dwSampleOffset; } struct CueChunk { Int32 chunkID; Int32 chunkSize; Int32 dwCuePoints; CuePoint[] points; } ------------------------------ Labels look like this: ------------------------------ struct ListHeader { Int32 listID; /* 'list' */ Int32 chunkSize; /* includes the Type ID below */ Int32 typeID; /* 'adtl' */ } struct LabelChunk { Int32 chunkID; Int32 chunkSize; Int32 dwIdentifier; Char[] dwText; /* Encoded with extended ASCII */ } LabelChunk;
파일 보기 프로젝트 열기: jishi/Jishi.StreamToSonos 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Cue cue ) : void

Adds an item to the list

CueList ( ) : System

Creates an empty cue list

this ( int index ) : Cue

Accesses the cue at the specified index

비공개 메소드들

메소드 설명
CueList ( byte cueChunkData, byte listChunkData ) : System

Creates a cue list from the cue RIFF chunk and the list RIFF chunk

FromChunks ( NAudio.Wave.WaveFileReader reader ) : CueList

Checks if the cue and list chunks exist and if so, creates a cue list

GetRIFFChunks ( ) : byte[]

Gets the cues as the concatenated cue and list RIFF chunks.

메소드 상세

Add() 공개 메소드

Adds an item to the list
public Add ( Cue cue ) : void
cue Cue Cue
리턴 void

CueList() 공개 메소드

Creates an empty cue list
public CueList ( ) : System
리턴 System

this() 공개 메소드

Accesses the cue at the specified index
public this ( int index ) : Cue
index int
리턴 Cue