|
|
| version 1.10, 2006/12/16 09:43:24 | version 1.11, 2006/12/16 12:11:07 |
|---|---|
| Line 10 | Line 10 |
| // #define VOLUME_ACURVE | // #define VOLUME_ACURVE |
| #define ENABLE_PORTB | #define ENABLE_PORTB |
| #ifndef VERMOUTHCL | |
| #define VERMOUTHCL | |
| #endif | |
| struct _midimodule; | struct _midimodule; |
| typedef struct _midimodule _MIDIMOD; | typedef struct _midimodule _MIDIMOD; |
| typedef struct _midimodule *MIDIMOD; | typedef struct _midimodule *MIDIMOD; |
| Line 54 enum { | Line 58 enum { |
| #define MIDI_BANKS 128 | #define MIDI_BANKS 128 |
| #endif | #endif |
| #include "midimod.h" | #include "midimod.h" |
| #include "midinst.h" | #include "midinst.h" |
| #include "midvoice.h" | #include "midvoice.h" |
| #include "midtable.h" | #include "midtable.h" |
| struct _midimodule { | struct _midimodule { |
| UINT samprate; | UINT samprate; |
| UINT lockcount; | UINT lockcount; |
| Line 70 struct _midimodule { | Line 76 struct _midimodule { |
| LISTARRAY namelist; | LISTARRAY namelist; |
| }; | }; |
| struct _midictrl { | struct _midictrl { |
| UINT samprate; | UINT samprate; |
| UINT worksize; | UINT worksize; |
| Line 101 struct _miditoneloadparam { | Line 106 struct _miditoneloadparam { |
| UINT bank; | UINT bank; |
| UINT num; | UINT num; |
| }; | }; |
| typedef struct _miditoneloadparam MIDIOUTLAEXPARAM; | |
| typedef int (*FNMIDIOUTLAEXCB)(MIDIOUTLAEXPARAM *param); | |
| #ifndef VERMOUTH_EXPORTS | #ifndef VERMOUTH_EXPORTS |
| #define VEXTERN | #define VEXTERN |
| #define VEXPORT | #define VEXPORT VERMOUTHCL |
| #else | #else |
| #define VEXTERN __declspec(dllexport) | #define VEXTERN __declspec(dllexport) |
| #define VEXPORT WINAPI | #define VEXPORT WINAPI |
| Line 130 VEXTERN void VEXPORT midiout_setportb(MI | Line 134 VEXTERN void VEXPORT midiout_setportb(MI |
| VEXTERN _MIDIMOD * VEXPORT midimod_create(UINT samprate); | VEXTERN _MIDIMOD * VEXPORT midimod_create(UINT samprate); |
| VEXTERN void VEXPORT midimod_destroy(MIDIMOD hdl); | VEXTERN void VEXPORT midimod_destroy(MIDIMOD hdl); |
| VEXTERN BRESULT VEXPORT midimod_cfgload(MIDIMOD hdl, const OEMCHAR *filename); | |
| VEXTERN void VEXPORT midimod_loadprogram(MIDIMOD hdl, UINT num); | VEXTERN void VEXPORT midimod_loadprogram(MIDIMOD hdl, UINT num); |
| VEXTERN void VEXPORT midimod_loadrhythm(MIDIMOD hdl, UINT num); | VEXTERN void VEXPORT midimod_loadrhythm(MIDIMOD hdl, UINT num); |
| VEXTERN void VEXPORT midimod_loadgm(MIDIMOD hdl); | VEXTERN void VEXPORT midimod_loadgm(MIDIMOD hdl); |