Debian Codegraph @

src/hardware/snd_pc98/sound/tms3631.h

raw symbols SCIP
1
2 typedef struct {
3 UINT32 freq;
4 UINT32 count;
5 } TMSCH;
6
7 typedef struct {
8 TMSCH ch[8];
9 UINT enable;
10 } _TMS3631, *TMS3631;
11
12 typedef struct {
13 UINT ratesft;
14 SINT32 left;
15 SINT32 right;
16 SINT32 feet[16];
17 } TMS3631CFG;
18
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 void tms3631_initialize(UINT rate);
25 void tms3631_setvol(const UINT8 *vol);
26
27 void tms3631_reset(TMS3631 tms);
28 void tms3631_setkey(TMS3631 tms, REG8 ch, REG8 key);
29 void tms3631_setenable(TMS3631 tms, REG8 enable);
30
31 void SOUNDCALL tms3631_getpcm(TMS3631 tms, SINT32 *pcm, UINT count);
32
33 #ifdef __cplusplus
34 }
35 #endif
36