| version 1.4, 2005/03/18 09:23:11 | version 1.7, 2006/12/16 22:23:24 | 
| Line 2 | Line 2 | 
 | #ifndef __VERMOUTH_H | #ifndef __VERMOUTH_H | 
 | #define __VERMOUTH_H | #define __VERMOUTH_H | 
 |  |  | 
 |  | #ifndef VERMOUTHCL | 
 |  | #define VERMOUTHCL | 
 |  | #endif | 
 |  |  | 
 |  | #ifndef VERMOUTH_EXPORTS | 
 |  | #define VEXTERN | 
 |  | #define VEXPORT         VERMOUTHCL | 
 |  | #else | 
 |  | #define VEXTERN         __declspec(dllexport) | 
 |  | #define VEXPORT         WINAPI | 
 |  | #endif | 
 |  |  | 
 | typedef struct { | typedef struct { | 
 | UINT    samprate; | UINT    samprate; | 
 | } *MIDIMOD; | } *MIDIMOD; | 
| Line 11  typedef struct { | Line 23  typedef struct { | 
 | UINT    worksize; | UINT    worksize; | 
 | } *MIDIHDL; | } *MIDIHDL; | 
 |  |  | 
 |  | typedef struct { | 
 |  | void    *userdata; | 
 |  | UINT    totaltones; | 
 |  | UINT    progress; | 
 |  | UINT    bank; | 
 |  | UINT    num; | 
 |  | } MIDIOUTLAEXPARAM; | 
 |  | typedef int (*FNMIDIOUTLAEXCB)(MIDIOUTLAEXPARAM *param); | 
 |  |  | 
 |  |  | 
 | #ifdef __cplusplus | #ifdef __cplusplus | 
 | extern "C" { | extern "C" { | 
 | #endif | #endif | 
 |  |  | 
| UINT midiout_getver(OEMCHAR *string, int leng); | VEXTERN UINT VEXPORT midiout_getver(char *string, int leng); | 
|  | VEXTERN MIDIHDL VEXPORT midiout_create(MIDIMOD mod, UINT worksize); | 
| MIDIMOD midimod_create(UINT samprate); | VEXTERN void VEXPORT midiout_destroy(MIDIHDL hdl); | 
| void midimod_destroy(MIDIMOD hdl); | VEXTERN void VEXPORT midiout_shortmsg(MIDIHDL hdl, UINT32 msg); | 
| void midimod_loadprogram(MIDIMOD hdl, UINT num); | VEXTERN void VEXPORT midiout_longmsg(MIDIHDL hdl, const void *msg, UINT size); | 
| void midimod_loadrhythm(MIDIMOD hdl, UINT num); | VEXTERN const SINT32 * VEXPORT midiout_get(MIDIHDL hdl, UINT *samples); | 
| void midimod_loadgm(MIDIMOD hdl); | VEXTERN UINT VEXPORT midiout_get16(MIDIHDL hdl, SINT16 *pcm, UINT size); | 
| void midimod_loadall(MIDIMOD hdl); | VEXTERN UINT VEXPORT midiout_get32(MIDIHDL hdl, SINT32 *pcm, UINT size); | 
|  | VEXTERN void VEXPORT midiout_setgain(MIDIHDL hdl, int gain); | 
| MIDIHDL midiout_create(MIDIMOD module, UINT worksize); | VEXTERN void VEXPORT midiout_setmoduleid(MIDIHDL hdl, UINT8 moduleid); | 
| void midiout_destroy(MIDIHDL hdl); | VEXTERN void VEXPORT midiout_setportb(MIDIHDL hdl, MIDIHDL portb); | 
| void midiout_shortmsg(MIDIHDL hdl, UINT32 msg); |  | 
| void midiout_longmsg(MIDIHDL hdl, const void *msg, UINT size); | VEXTERN MIDIMOD VEXPORT midimod_create(UINT samprate); | 
| const SINT32 *midiout_get(MIDIHDL hdl, UINT *samples); | VEXTERN void VEXPORT midimod_destroy(MIDIMOD hdl); | 
| UINT midiout_get32(MIDIHDL hdl, SINT32 *pcm, UINT size); | VEXTERN void VEXPORT midimod_destroy(MIDIMOD hdl); | 
| void midiout_setgain(MIDIHDL hdl, int gain); | VEXTERN BRESULT VEXPORT midimod_cfgload(MIDIMOD mod, const OEMCHAR *filename); | 
|  | VEXTERN void VEXPORT midimod_loadprogram(MIDIMOD hdl, UINT num); | 
|  | VEXTERN void VEXPORT midimod_loadrhythm(MIDIMOD hdl, UINT num); | 
|  | VEXTERN void VEXPORT midimod_loadgm(MIDIMOD hdl); | 
|  | VEXTERN void VEXPORT midimod_loadall(MIDIMOD hdl); | 
|  | VEXTERN void VEXPORT midimod_loadallex(MIDIMOD hdl, FNMIDIOUTLAEXCB cb, void *userdata); | 
 |  |  | 
 | #ifdef __cplusplus | #ifdef __cplusplus | 
 | } | } |