BASS.NET API for the Un4seen BASS Audio LibraryBASS_TAG_SMPL_LOOP ClassBASS.NET API for the Un4seen BASS Audio Library
RIFF "smpl" tag loop structure.
Inheritance Hierarchy

SystemObject
  Un4seen.BassBASS_TAG_SMPL_LOOP

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.13.0
Syntax

[SerializableAttribute]
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
public class BASS_TAG_SMPL_LOOP

The BASS_TAG_SMPL_LOOP type exposes the following members.

Properties

  NameDescription
Public propertyEnd
Specifies the endpoint of the loop in samples (this sample will also be played).
Public propertyFraction
Allows fine-tuning for loop fractional areas between samples. Values range from 0x00000000 to 0xFFFFFFFF. A value of 0x80000000 represents 1/2 of a sample length.
Public propertyIdentifier
Identifies the unique ’name’ of the loop. This field may correspond with a name stored in a cue points ("cue ") chunk. The name data is stored in an associated data list ("adtl") chunk.
Public propertyPlayCount
Specifies the number of times.
Public propertyStart
Specifies the startpoint of the loop in samples.
Public propertyType
Specifies the loop type: 0 - Loop forward (normal), 1 - Alternating loop (forward/backward), 2 - Loop backward, 3-31 - reserved for future standard types, 32-? - sampler specific types (manufacturer defined).
Top
Remarks

The structure is given by BASS_ChannelGetTags(Int32, BASSTag) as it is in the RIFF file, which is little-endian, so the members will need to be reversed on big-endian platforms.
See Also

Reference