|
|
| version 1.2, 2003/10/18 07:28:50 | version 1.3, 2003/10/18 09:02:38 |
|---|---|
| Line 129 typedef struct { | Line 129 typedef struct { |
| SINT32 calc1024; | SINT32 calc1024; |
| SINT32 fmvol; | SINT32 fmvol; |
| UINT ratebit; | UINT ratebit; |
| UINT vr_en; | |
| SINT32 vr_l; | |
| SINT32 vr_r; | |
| } OPNCFG; | } OPNCFG; |
| Line 138 extern "C" { | Line 141 extern "C" { |
| void opngen_initialize(UINT rate); | void opngen_initialize(UINT rate); |
| void opngen_setvol(UINT vol); | void opngen_setvol(UINT vol); |
| void opngen_setVR(BYTE channel, BYTE value); | |
| void opngen_reset(void); | void opngen_reset(void); |
| void opngen_setcfg(BYTE maxch, UINT flag); | void opngen_setcfg(BYTE maxch, UINT flag); |
| Line 146 void opngen_setreg(BYTE chbase, BYTE reg | Line 150 void opngen_setreg(BYTE chbase, BYTE reg |
| void opngen_keyon(UINT chnum, BYTE value); | void opngen_keyon(UINT chnum, BYTE value); |
| void SOUNDCALL opngen_getpcm(void *hdl, SINT32 *buf, UINT count); | void SOUNDCALL opngen_getpcm(void *hdl, SINT32 *buf, UINT count); |
| void SOUNDCALL opngen_getpcmvr(void *hdl, SINT32 *buf, UINT count); | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| } | } |