File:  [RetroPC.NET] / np2 / sound / rhythm.h
Revision 1.3: download - view: text, annotated - select for diffs
Thu Feb 19 05:11:37 2004 JST (21 years, 8 months ago) by yui
Branches: MAIN
CVS tags: VER_0_80, VER_0_79, VER_0_78, VER_0_77, VER_0_76, VER_0_75, HEAD
fix rhythm (T.Yui)


typedef struct {
	PMIXHDR	hdr;
	PMIXTRK	trk[6];
	UINT	vol;
	UINT8	trkvol[8];
} _RHYTHM, *RHYTHM;


#ifdef __cplusplus
extern "C" {
#endif

void rhythm_initialize(UINT rate);
void rhythm_deinitialize(void);
UINT rhythm_getcaps(void);
void rhythm_setvol(UINT vol);

void rhythm_reset(RHYTHM rhy);
void rhythm_bind(RHYTHM rhy);
void rhythm_update(RHYTHM rhy);
void rhythm_setreg(RHYTHM rhy, REG8 reg, REG8 val);

#ifdef __cplusplus
}
#endif


RetroPC.NET-CVS <cvs@retropc.net>