Table of Contents

Struct LoopRegion

Namespace
NAudio.Sequencing
Assembly
NAudio.Core.dll

A half-open musical loop region: playback wraps from EndTick back to StartTick.

public readonly record struct LoopRegion : IEquatable<LoopRegion>
Implements
Inherited Members

Constructors

LoopRegion(long, long)

Creates a loop region. endTick must be greater than startTick.

public LoopRegion(long startTick, long endTick)

Parameters

startTick long
endTick long

Properties

EndTick

The (exclusive) end of the loop in canonical ticks.

public long EndTick { get; }

Property Value

long

LengthTicks

The length of the loop in canonical ticks.

public long LengthTicks { get; }

Property Value

long

StartTick

The (inclusive) start of the loop in canonical ticks.

public long StartTick { get; }

Property Value

long