File:
[RetroPC.NET] /
np2 /
sound /
tms3631.h
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Mon Dec 8 09:55:33 2003 JST (21 years, 10 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,
VER_0_74,
VER_0_73,
HEAD
add IA32 etc... (T.Yui)
typedef struct {
UINT32 freq;
UINT32 count;
} TMSCH;
typedef struct {
TMSCH ch[8];
UINT enable;
} _TMS3631, *TMS3631;
typedef struct {
UINT ratesft;
SINT32 left;
SINT32 right;
SINT32 feet[16];
} TMS3631CFG;
#ifdef __cplusplus
extern "C" {
#endif
void tms3631_initialize(UINT rate);
void tms3631_setvol(const BYTE *vol);
void tms3631_reset(TMS3631 tms);
void tms3631_setkey(TMS3631 tms, REG8 ch, REG8 key);
void tms3631_setenable(TMS3631 tms, REG8 enable);
void SOUNDCALL tms3631_getpcm(TMS3631 tms, SINT32 *pcm, UINT count);
#ifdef __cplusplus
}
#endif
RetroPC.NET-CVS <cvs@retropc.net>