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.8" #define XMP_VERSION "4.3.0"
#define XMP_VERCODE 0x040208 #define XMP_VERCODE 0x040300
#define XMP_VER_MAJOR 4 #define XMP_VER_MAJOR 4
#define XMP_VER_MINOR 2 #define XMP_VER_MINOR 3
#define XMP_VER_RELEASE 8 #define XMP_VER_RELEASE 0
#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)
# define EXPORT __attribute__((visibility ("default"))) # define EXPORT __attribute__((visibility ("default")))
#elif defined(__SUNPRO_C) #elif defined(__SUNPRO_C)
# define EXPORT __global # define EXPORT __global
#elif defined(EMSCRIPTEN)
# define EXPORT EMSCRIPTEN_KEEPALIVE
#else #else
# define EXPORT # define EXPORT
#endif #endif
#define XMP_NAME_SIZE 64 /* Size of module name and type */ #define XMP_NAME_SIZE 64 /* Size of module name and type */
#define XMP_KEY_OFF 0x81 /* Note number for key off event */ #define XMP_KEY_OFF 0x81 /* Note number for key off event */
#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 */
skipping to change at line 54 skipping to change at line 56
#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 */
#define XMP_PLAYER_DEFPAN 10 /* Default pan setting */
/* interpolation types */ /* interpolation types */
#define XMP_INTERP_NEAREST 0 /* Nearest neighbor */ #define XMP_INTERP_NEAREST 0 /* Nearest neighbor */
#define XMP_INTERP_LINEAR 1 /* Linear (default) */ #define XMP_INTERP_LINEAR 1 /* Linear (default) */
#define XMP_INTERP_SPLINE 2 /* Cubic spline */ #define XMP_INTERP_SPLINE 2 /* Cubic spline */
/* dsp effect types */ /* dsp effect types */
#define XMP_DSP_LOWPASS (1 << 0) /* Lowpass filter effect */ #define XMP_DSP_LOWPASS (1 << 0) /* Lowpass filter effect */
#define XMP_DSP_ALL (XMP_DSP_LOWPASS) #define XMP_DSP_ALL (XMP_DSP_LOWPASS)
skipping to change at line 315 skipping to change at line 318
EXPORT int xmp_set_position (xmp_context, int); EXPORT int xmp_set_position (xmp_context, int);
EXPORT void xmp_stop_module (xmp_context); EXPORT void xmp_stop_module (xmp_context);
EXPORT void xmp_restart_module (xmp_context); EXPORT void xmp_restart_module (xmp_context);
EXPORT int xmp_seek_time (xmp_context, int); EXPORT int xmp_seek_time (xmp_context, int);
EXPORT int xmp_channel_mute (xmp_context, int, int); EXPORT int xmp_channel_mute (xmp_context, int, int);
EXPORT int xmp_channel_vol (xmp_context, int, int); EXPORT int xmp_channel_vol (xmp_context, int, int);
EXPORT int xmp_set_player (xmp_context, int, int); EXPORT int xmp_set_player (xmp_context, int, int);
EXPORT int xmp_get_player (xmp_context, int); EXPORT int xmp_get_player (xmp_context, int);
EXPORT int xmp_set_instrument_path (xmp_context, char *); EXPORT int xmp_set_instrument_path (xmp_context, char *);
EXPORT int xmp_load_module_from_memory (xmp_context, void *, long); EXPORT int xmp_load_module_from_memory (xmp_context, void *, long);
EXPORT int xmp_load_module_from_file (xmp_context, void *, long);
/* External sample mixer API */ /* External sample mixer API */
EXPORT int xmp_start_smix (xmp_context, int, int); EXPORT int xmp_start_smix (xmp_context, int, int);
EXPORT void xmp_end_smix (xmp_context); EXPORT void xmp_end_smix (xmp_context);
EXPORT int xmp_smix_play_instrument(xmp_context, int, int, int, int ); EXPORT int xmp_smix_play_instrument(xmp_context, int, int, int, int );
EXPORT int xmp_smix_play_sample (xmp_context, int, int, int, int); EXPORT int xmp_smix_play_sample (xmp_context, int, int, int, int);
EXPORT int xmp_smix_channel_pan (xmp_context, int, int); EXPORT int xmp_smix_channel_pan (xmp_context, int, int);
EXPORT int xmp_smix_load_sample (xmp_context, int, char *); EXPORT int xmp_smix_load_sample (xmp_context, int, char *);
EXPORT int xmp_smix_release_sample (xmp_context, int); EXPORT int xmp_smix_release_sample (xmp_context, int);
 End of changes. 5 change blocks. 
4 lines changed or deleted 8 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/