RIFF "smpl" tag sample loop structure.
typedef struct { DWORD dwIdentifier; DWORD dwType; DWORD dwStart; DWORD dwEnd; DWORD dwFraction; DWORD dwPlayCount; } TAG_SMPL_LOOP;
dwIdentifier | 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. |
dwType | 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) |
dwStart | Specifies the startpoint of the loop in samples. |
dwEnd | Specifies the endpoint of the loop in samples (this sample will also be played). |
dwFraction | 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. |
dwPlayCount | Specifies the number of times. |