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.2.5" | #define XMP_VERSION "4.2.6" | |||
#define XMP_VERCODE 0x040205 | #define XMP_VERCODE 0x040206 | |||
#define XMP_VER_MAJOR 4 | #define XMP_VER_MAJOR 4 | |||
#define XMP_VER_MINOR 2 | #define XMP_VER_MINOR 2 | |||
#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 43 | skipping to change at line 43 | |||
#define XMP_KEY_CUT 0x82 /* Note number for key cut event */ | #define XMP_KEY_CUT 0x82 /* Note number for key cut event */ | |||
#define XMP_KEY_FADE 0x83 /* Note number for fade event */ | #define XMP_KEY_FADE 0x83 /* Note number for fade event */ | |||
/* mixer parameter macros */ | /* mixer parameter macros */ | |||
/* sample format flags */ | /* sample format flags */ | |||
#define XMP_FORMAT_8BIT (1 << 0) /* Mix to 8-bit instead of 16 */ | #define XMP_FORMAT_8BIT (1 << 0) /* Mix to 8-bit instead of 16 */ | |||
#define XMP_FORMAT_UNSIGNED (1 << 1) /* Mix to unsigned samples */ | #define XMP_FORMAT_UNSIGNED (1 << 1) /* Mix to unsigned samples */ | |||
#define XMP_FORMAT_MONO (1 << 2) /* Mix to mono instead of s tereo */ | #define XMP_FORMAT_MONO (1 << 2) /* Mix to mono instead of s tereo */ | |||
/* mixer paramters for xmp_set_player() */ | /* player parameters */ | |||
#define XMP_PLAYER_AMP 0 /* Amplification factor */ | #define XMP_PLAYER_AMP 0 /* Amplification factor */ | |||
#define XMP_PLAYER_MIX 1 /* Stereo mixing */ | #define XMP_PLAYER_MIX 1 /* Stereo mixing */ | |||
#define XMP_PLAYER_INTERP 2 /* Interpolation type */ | #define XMP_PLAYER_INTERP 2 /* Interpolation type */ | |||
#define XMP_PLAYER_DSP 3 /* DSP effect flags */ | #define XMP_PLAYER_DSP 3 /* DSP effect flags */ | |||
#define XMP_PLAYER_FLAGS 4 /* Player flags */ | #define XMP_PLAYER_FLAGS 4 /* Player flags */ | |||
#define XMP_PLAYER_CFLAGS 5 /* Player flags for current module * / | #define XMP_PLAYER_CFLAGS 5 /* Player flags for current module * / | |||
#define XMP_PLAYER_SMPCTL 6 /* Sample control flags */ | #define XMP_PLAYER_SMPCTL 6 /* Sample control flags */ | |||
#define XMP_PLAYER_VOLUME 7 /* Player module volume */ | #define XMP_PLAYER_VOLUME 7 /* Player module volume */ | |||
#define XMP_PLAYER_STATE 8 /* Internal player state */ | #define XMP_PLAYER_STATE 8 /* Internal player state */ | |||
#define XMP_PLAYER_SMIX_VOLUME 9 /* SMIX volume */ | #define XMP_PLAYER_SMIX_VOLUME 9 /* SMIX volume */ | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||