Table of Contents

Class Cue

Namespace
NAudio.Wave
Assembly
NAudio.Core.dll

Holds information on a cue: a labeled position within a Wave file

public class Cue
Inheritance
Cue
Inherited Members

Constructors

Cue(int, string)

Creates a Cue based on a sample position and label

public Cue(int position, string label)

Parameters

position int
label string

Cue(int, string, int?)

Creates a Cue based on a sample position, label and region length in samples.

public Cue(int position, string label, int? length)

Parameters

position int

Sample position of the cue point.

label string

Text label, or null for an empty label.

length int?

Length in samples of the region starting at position, or null for a point marker with no length.

Properties

Label

Label of the cue

public string Label { get; }

Property Value

string

Length

Cue length in samples, or null if the cue is a point marker rather than a region. Populated from the ltxt sub-chunk of a WAV LIST/adtl chunk.

public int? Length { get; }

Property Value

int?

Position

Cue position in samples

public int Position { get; }

Property Value

int