Table of Contents

Struct AsioTimeCodeInfo

Namespace
NAudio.Wave
Assembly
NAudio.Asio.dll

SMPTE/MTC time code reported by the ASIO driver for the current buffer. Surfaced on TimeCode and TimeCode when the driver is receiving an external time-code source (LTC input, MTC over MIDI, etc.).

public readonly struct AsioTimeCodeInfo
Inherited Members

Remarks

Only present when the driver returns a valid time code for the buffer; the surfacing properties are typed as AsioTimeCodeInfo? and will be null in the common case where no external time-code source is connected.

Properties

OnSpeed

True if the time-code source is locked at nominal speed.

public bool OnSpeed { get; init; }

Property Value

bool

Reverse

True if the time-code source is running in reverse.

public bool Reverse { get; init; }

Property Value

bool

Running

True if the time-code source is running (transport playing).

public bool Running { get; init; }

Property Value

bool

Samples

Time code position, in samples since the start of the time-code stream.

public long Samples { get; init; }

Property Value

long

Speed

Time-code speed (1.0 = nominal). Often 1.0 even when audio is varispeeding.

public double Speed { get; init; }

Property Value

double

Still

True if the time-code source has paused (no advancement).

public bool Still { get; init; }

Property Value

bool