--- np2/sound/vermouth/midinst.h 2003/10/16 17:58:11 1.1 +++ np2/sound/vermouth/midinst.h 2005/03/29 06:50:38 1.4 @@ -38,10 +38,10 @@ typedef struct { int tremolo_step; int vibrate_sweep; int vibrate_rate; - BYTE tremolo_depth; - BYTE vibrate_depth; - BYTE mode; - BYTE panpot; + UINT8 tremolo_depth; + UINT8 vibrate_depth; + UINT8 mode; + UINT8 panpot; } _INSTLAYER, *INSTLAYER; typedef struct { @@ -50,6 +50,15 @@ typedef struct { } _INSTRUMENT, *INSTRUMENT; +#ifdef __cplusplus +extern "C" { +#endif + int inst_singleload(MIDIMOD mod, UINT bank, UINT num); +int inst_bankload(MIDIMOD mod, UINT bank); void inst_bankfree(MIDIMOD mod, UINT bank); +#ifdef __cplusplus +} +#endif +