private void MXDRV_Call_2(UInt32 a, UInt32 b) { X68REG reg = new X68REG(); reg.d0 = (a); reg.d1 = (b); MXDRV_(reg); }
//# ifndef DLLEXPORT //#define DLLEXPORT //#endif //# ifdef __cplusplus //extern "C" { //#endif //#ifndef __MXDRV_LOADMODULE //DLLEXPORT int MXDRV_Start(int samprate, int betw, int pcmbuf, int late, int mdxbuf, int pdxbuf, int opmmode); //DLLEXPORT void MXDRV_End(void); //DLLEXPORT int MXDRV_GetPCM(void* buf, int len); //DLLEXPORT void MXDRV_Play(void* mdx, DWORD mdxsize, void* pdx, DWORD pdxsize); //DLLEXPORT void volatile * MXDRV_GetWork(int i); //DLLEXPORT void MXDRV(X68REG* reg); //DLLEXPORT DWORD MXDRV_MeasurePlayTime(void* mdx, DWORD mdxsize, void* pdx, DWORD pdxsize, int loop, int fadeout); //DLLEXPORT void MXDRV_PlayAt(DWORD playat, int loop, int fadeout); //DLLEXPORT int MXDRV_TotalVolume(int vol); //#endif // __MXDRV_LOADMODULE //# ifdef __cplusplus //} //#endif // __cplusplus private void MXDRV_Call(UInt32 a) { X68REG reg = new X68REG(); reg.d0 = (a); reg.d1 = 0x00; MXDRV_(reg); }