Table of Contents

Class CueList

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

Holds a list of cues

public class CueList
Inheritance
CueList
Inherited Members

Remarks

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;

Constructors

CueList()

Creates an empty cue list

public CueList()

Properties

Count

Number of cues

public int Count { get; }

Property Value

int

CueLabels

Gets labels for the embedded cues

public string[] CueLabels { get; }

Property Value

string[]

Array containing the labels

CuePositions

Gets sample positions for the embedded cues

public int[] CuePositions { get; }

Property Value

int[]

Array containing the cue positions

this[int]

Accesses the cue at the specified index

public Cue this[int index] { get; }

Parameters

index int

Property Value

Cue

Methods

Add(Cue)

Adds an item to the list

public void Add(Cue cue)

Parameters

cue Cue

Cue