Xeno-rat
|
Holds a list of cues. More...
Public Member Functions | |
CueList () | |
Creates an empty cue list. | |
void | Add (Cue cue) |
Adds a cue to the collection of cues. | |
Properties | |
int[] | CuePositions [get] |
Gets sample positions for the embedded cues. | |
string[] | CueLabels [get] |
Gets labels for the embedded cues. | |
int | Count [get] |
Number of cues. | |
Cue | this[int index] [get] |
Accesses the cue at the specified index. | |
Private Attributes | |
readonly List< Cue > | cues = new List<Cue>() |
Holds a list of cues.
The specs for reading and writing cues from the cue and list RIFF chunks
struct CuePoint { Int32 dwIdentifier; Int32 dwPosition; Int32 fccChunk; Int32 dwChunkStart; Int32 dwBlockStart; Int32 dwSampleOffset; }
struct CueChunk { Int32 chunkID; Int32 chunkSize; Int32 dwCuePoints; CuePoint[] points;
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;
|
inline |
Creates an empty cue list.
|
inline |
Adds a cue to the collection of cues.
cue | The cue to be added to the collection. |
This method adds the specified cue to the collection of cues.
|
get |
Number of cues.
|
get |
Gets labels for the embedded cues.
|
get |
Gets sample positions for the embedded cues.
|
get |
Accesses the cue at the specified index.
index |