Struct SampleLoop
Loop points embedded in a sample file (e.g. a WAV smpl chunk), in
sample frames. Start is inclusive and End is
exclusive (one past the last looped frame), matching the engine's
NAudio.Sampler.SampleData convention — note the WAV smpl chunk
itself stores an inclusive end, converted on read.
public readonly struct SampleLoop
- Inherited Members
Constructors
SampleLoop(int, int)
Creates loop points (start inclusive, end exclusive).
public SampleLoop(int start, int end)
Parameters
Properties
End
Loop end frame (exclusive, one past the last looped frame).
public int End { get; }
Property Value
Start
Loop start frame (inclusive).
public int Start { get; }