0
|
1 /*
|
|
2 * Ss is an omission which means Sound Synthesizer. But, this version, for PS2,
|
|
3 * isn't implemented the realities. We think that the Sc module can be implemented
|
|
4 * with SDLaudio-library-for-PS2.
|
|
5 */
|
|
6
|
|
7 //#include "libps.h"
|
|
8 #include <SDL.h>
|
|
9
|
|
10
|
|
11 int SsUtKeyOn(int vabId, int prog, int tone, int note, int fine, int voll, int vlor)
|
|
12 {
|
|
13 return 0;
|
|
14 }
|
|
15
|
|
16
|
|
17 int SsUtKeyOff(int voice, int vabId, int prog, int tone, int note)
|
|
18 {
|
|
19 return 0;
|
|
20 }
|
|
21
|
|
22
|
|
23 void SsSetSerialAttr(char s_num, char attr, char mode)
|
|
24 {
|
|
25 }
|
|
26
|
|
27
|
|
28 void SsSetSerialVol(char a, int b, int c)
|
|
29 {
|
|
30 }
|
|
31
|
|
32
|
|
33 int SsUtSetReverbType(int type)
|
|
34 {
|
|
35 return type;
|
|
36 }
|
|
37
|
|
38
|
|
39
|
|
40 void SsSetMVol(int voll, int volr)
|
|
41 {
|
|
42 }
|
|
43
|
|
44
|
|
45
|
|
46
|
|
47
|
|
48 void SsUtReverbOn(void)
|
|
49 {
|
|
50 }
|
|
51
|
|
52
|
|
53
|
|
54 #if 0
|
|
55 int VSync(int mode)
|
|
56 {
|
|
57 return 59;
|
|
58 }
|
|
59 #endif
|
|
60
|
|
61
|
|
62
|
|
63 int SsVabTransfer(unsigned char *vh_addr, unsigned char *vd_addr,
|
|
64 int vabid, int i_flag)
|
|
65 {
|
|
66 return vabid;
|
|
67 }
|
|
68
|
|
69
|
|
70
|
|
71 int SsSeqOpen(unsigned int *addr, int vad_id)
|
|
72 {
|
|
73 return 1;
|
|
74 }
|
|
75
|
|
76
|
|
77
|
|
78 void SsSeqPlay(int seq_access_num, char play_mode, int count)
|
|
79 {
|
|
80 }
|
|
81
|
|
82
|
|
83
|
|
84 void SsSeqStop(int seq_access_num)
|
|
85 {
|
|
86 }
|
|
87
|
|
88
|
|
89
|
|
90 void SsSeqClose(int seq_access_num)
|
|
91 {
|
|
92 }
|
|
93
|
|
94 /*
|
|
95 int CdReadFile(char *file, u_int * addr, int nbyte)
|
|
96 {
|
|
97 return 0;
|
|
98 }
|
|
99
|
|
100
|
|
101 int CdReadSync(int mode, u_char * result)
|
|
102 {
|
|
103 return 0;
|
|
104 }
|
|
105
|
|
106
|
|
107 CdlFILE *CdSearchFile(CdlFILE * fp, char *name)
|
|
108 {
|
|
109 return 0;
|
|
110 }
|
|
111 */
|
|
112
|
|
113 void SsSetTempo(int a, int b, int c)
|
|
114 {
|
|
115 }
|
|
116
|
|
117
|
|
118 void GetPadBuf(volatile unsigned char **a, volatile unsigned char **b)
|
|
119 {
|
|
120 }
|
|
121
|
|
122
|
|
123 void SsUtSetReverbDepth(int a, int b)
|
|
124 {
|
|
125 }
|