--- np2/sound/vermouth/midinst.h 2005/02/07 14:46:13 1.3 +++ np2/sound/vermouth/midinst.h 2006/12/10 11:14:31 1.5 @@ -49,8 +49,19 @@ typedef struct { int freq; } _INSTRUMENT, *INSTRUMENT; +struct _miditoneloadparam; + +#ifdef __cplusplus +extern "C" { +#endif int inst_singleload(MIDIMOD mod, UINT bank, UINT num); int inst_bankload(MIDIMOD mod, UINT bank); +int inst_bankloadex(MIDIMOD mod, UINT bank, int (*cb)(struct _miditoneloadparam *param), struct _miditoneloadparam *param); void inst_bankfree(MIDIMOD mod, UINT bank); +UINT inst_gettones(MIDIMOD mod, UINT bank); + +#ifdef __cplusplus +} +#endif