coastline 0.0.4
Loading...
Searching...
No Matches
XmSample Struct Reference

The header of an XM sample as the player keeps it, followed by its decoded data. More...

#include <audio.h>

Public Attributes

u32 length
u32 loopStart
u32 loopLength
u8 volume
s8 finetune
u8 type
u8 panning
s8 relativeNote
u8 reserved
char name [22]

Detailed Description

The header of an XM sample as the player keeps it, followed by its decoded data.

Member Data Documentation

◆ length

u32 XmSample::length

The samples of the data, one byte each, in the order of the processor.

◆ loopStart

u32 XmSample::loopStart

The start of the loop, in the little-endian order of the module.

◆ loopLength

u32 XmSample::loopLength

The samples of the loop, in the order of the processor.

◆ volume

u8 XmSample::volume

The volume of the sample, from 0 to 64.

◆ finetune

s8 XmSample::finetune

The finetune of the sample; the player does not read it.

◆ type

u8 XmSample::type

0 for no loop and 1 for a forward loop.

◆ panning

u8 XmSample::panning

The panning of the sample; the player does not read it.

◆ relativeNote

s8 XmSample::relativeNote

The notes to add to a note of the pattern.

◆ reserved

u8 XmSample::reserved

The reserved byte of the header of the module.

◆ name

char XmSample::name[22]

The name of the sample in the module.


The documentation for this struct was generated from the following file: