-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsidplay.h
55 lines (49 loc) · 2.18 KB
/
sidplay.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef __PLAYSID_H
#define __PLAYSID_H
struct sidChanInfo
{
uint16_t freq;
uint16_t pulse;
uint8_t wave;
uint8_t ad;
uint8_t sr;
int filtenabled;
uint8_t filttype;
uint16_t leftvol, rightvol;
};
struct ocpfilehandle_t;
struct cpifaceSessionAPI_t;
OCP_INTERNAL int sidOpenPlayer (struct ocpfilehandle_t *, struct cpifaceSessionAPI_t *cpifaceSession);
OCP_INTERNAL int sidNumberOfChips (void);
OCP_INTERNAL int sidNumberOfComments (void);
OCP_INTERNAL int sidNumberOfInfos (void);
OCP_INTERNAL const char *sidInfoString (int i);
OCP_INTERNAL const char *sidCommentString (int i);
OCP_INTERNAL const char *sidFormatString (void);
OCP_INTERNAL const char *sidROMDescKernal (void);
OCP_INTERNAL const char *sidROMDescBasic (void);
OCP_INTERNAL const char *sidROMDescChargen (void);
OCP_INTERNAL const float sidGetCPUSpeed (void);
OCP_INTERNAL const char *sidGetVICIIModelString (void);
OCP_INTERNAL const char *sidGetCIAModelString (void);
OCP_INTERNAL const char *sidChipModel (int i);
OCP_INTERNAL const char *sidTuneStatusString (void);
OCP_INTERNAL const char *sidTuneInfoClockSpeedString (void);
OCP_INTERNAL uint16_t sidChipAddr (int i);
OCP_INTERNAL void sidClosePlayer (struct cpifaceSessionAPI_t *cpifaceSession);
OCP_INTERNAL void sidIdle (struct cpifaceSessionAPI_t *cpifaceSession);
OCP_INTERNAL void sidStartSong (uint8_t sng);
OCP_INTERNAL uint8_t sidGetSong (void);
OCP_INTERNAL uint8_t sidGetSongs (void);
OCP_INTERNAL char sidGetVideo (void);
OCP_INTERNAL void sidMute (struct cpifaceSessionAPI_t *cpifaceSession, int i, int m);
OCP_INTERNAL void sidGetChanInfo (int i, sidChanInfo &ci);
OCP_INTERNAL int sidGetLChanSample (struct cpifaceSessionAPI_t *cpifaceSession, unsigned int ch, int16_t *s, unsigned int len, uint32_t rate, int opt);
OCP_INTERNAL int sidGetPChanSample (struct cpifaceSessionAPI_t *cpifaceSession, unsigned int ch, int16_t *s, unsigned int len, uint32_t rate, int opt);
OCP_INTERNAL void sidSetFilter (bool enable);
OCP_INTERNAL void sidSetBias (double bias);
OCP_INTERNAL void sidSetFilterCurve6581 (double v);
OCP_INTERNAL void sidSetFilterRange6581 (double v);
OCP_INTERNAL void sidSetFilterCurve8580 (double v);
OCP_INTERNAL void sidSetCombinedWaveformsStrength (int CWF);
#endif