xmp.h   xmp.h 
#ifndef XMP_H #ifndef XMP_H
#define XMP_H #define XMP_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#define XMP_VERSION "4.3.5" #define XMP_VERSION "4.3.6"
#define XMP_VERCODE 0x040305 #define XMP_VERCODE 0x040306
#define XMP_VER_MAJOR 4 #define XMP_VER_MAJOR 4
#define XMP_VER_MINOR 3 #define XMP_VER_MINOR 3
#define XMP_VER_RELEASE 5 #define XMP_VER_RELEASE 6
#if defined(_WIN32) && !defined(__CYGWIN__) #if defined(_WIN32) && !defined(__CYGWIN__)
# if defined(BUILDING_STATIC) # if defined(BUILDING_STATIC)
# define EXPORT # define EXPORT
# elif defined(BUILDING_DLL) # elif defined(BUILDING_DLL)
# define EXPORT __declspec(dllexport) # define EXPORT __declspec(dllexport)
# else # else
# define EXPORT __declspec(dllimport) # define EXPORT __declspec(dllimport)
# endif # endif
#elif __GNUC__ >= 4 || defined(__HP_cc) #elif __GNUC__ >= 4 || defined(__HP_cc)
skipping to change at line 107 skipping to change at line 107
#define XMP_ERROR_DEPACK 5 /* Error depacking file */ #define XMP_ERROR_DEPACK 5 /* Error depacking file */
#define XMP_ERROR_SYSTEM 6 /* System error */ #define XMP_ERROR_SYSTEM 6 /* System error */
#define XMP_ERROR_INVALID 7 /* Invalid parameter */ #define XMP_ERROR_INVALID 7 /* Invalid parameter */
#define XMP_ERROR_STATE 8 /* Invalid player state */ #define XMP_ERROR_STATE 8 /* Invalid player state */
struct xmp_channel { struct xmp_channel {
int pan; /* Channel pan (0x80 is center) */ int pan; /* Channel pan (0x80 is center) */
int vol; /* Channel volume */ int vol; /* Channel volume */
#define XMP_CHANNEL_SYNTH (1 << 0) /* Channel is synthesized */ #define XMP_CHANNEL_SYNTH (1 << 0) /* Channel is synthesized */
#define XMP_CHANNEL_MUTE (1 << 1) /* Channel is muted */ #define XMP_CHANNEL_MUTE (1 << 1) /* Channel is muted */
#define XMP_CHANNEL_SPLIT (1 << 2) /* Split Amiga channel in bits 5-4 */
int flg; /* Channel flags */ int flg; /* Channel flags */
}; };
struct xmp_pattern { struct xmp_pattern {
int rows; /* Number of rows */ int rows; /* Number of rows */
int index[1]; /* Track index */ int index[1]; /* Track index */
}; };
struct xmp_event { struct xmp_event {
unsigned char note; /* Note number (0 means no note) */ unsigned char note; /* Note number (0 means no note) */
skipping to change at line 172 skipping to change at line 173
struct xmp_subinstrument { struct xmp_subinstrument {
int vol; /* Default volume */ int vol; /* Default volume */
int gvl; /* Global volume */ int gvl; /* Global volume */
int pan; /* Pan */ int pan; /* Pan */
int xpo; /* Transpose */ int xpo; /* Transpose */
int fin; /* Finetune */ int fin; /* Finetune */
int vwf; /* Vibrato waveform */ int vwf; /* Vibrato waveform */
int vde; /* Vibrato depth */ int vde; /* Vibrato depth */
int vra; /* Vibrato rate */ int vra; /* Vibrato rate */
int vsw; /* Vibrato sweep */ int vsw; /* Vibrato sweep */
int rvv; /* Random volume variation (IT) */ int rvv; /* Random volume/pan variation (IT) */
int sid; /* Sample number */ int sid; /* Sample number */
#define XMP_INST_NNA_CUT 0x00 #define XMP_INST_NNA_CUT 0x00
#define XMP_INST_NNA_CONT 0x01 #define XMP_INST_NNA_CONT 0x01
#define XMP_INST_NNA_OFF 0x02 #define XMP_INST_NNA_OFF 0x02
#define XMP_INST_NNA_FADE 0x03 #define XMP_INST_NNA_FADE 0x03
int nna; /* New note action */ int nna; /* New note action */
#define XMP_INST_DCT_OFF 0x00 #define XMP_INST_DCT_OFF 0x00
#define XMP_INST_DCT_NOTE 0x01 #define XMP_INST_DCT_NOTE 0x01
#define XMP_INST_DCT_SMP 0x02 #define XMP_INST_DCT_SMP 0x02
#define XMP_INST_DCT_INST 0x03 #define XMP_INST_DCT_INST 0x03
 End of changes. 4 change blocks. 
4 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/