Release 980503
[wine] / misc / sound.c
1 /*
2 static char RCSId[] = "$Id: heap.c,v 1.3 1993/07/04 04:04:21 root Exp root $";
3 static char Copyright[] = "Copyright  Robert J. Amstadt, 1993";
4 */
5
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include "windows.h"
9 #include "debug.h"
10
11 INT16 WINAPI OpenSound16(void)
12 {
13   FIXME(sound, "(void): stub\n");
14   return -1;
15 }
16
17 void WINAPI OpenSound32(void)
18 {
19   FIXME(sound, "(void): stub\n");
20 }
21
22 void WINAPI CloseSound(void)
23 {
24   FIXME(sound, "(void): stub\n");
25 }
26
27 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
28 {
29   FIXME(sound, "(%d,%d): stub\n",nVoice,nBytes);
30   return 0;
31 }
32
33 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
34 {
35   FIXME(sound, "(%ld,%ld): stub\n",nVoice,nBytes);
36   return 0;
37 }
38
39 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
40                             INT16 nCdots)
41 {
42   FIXME(sound, "(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
43   return 0;
44 }
45
46 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
47                             DWORD nCdots)
48 {
49   FIXME(sound, "(%ld,%ld,%ld,%ld): stub\n",nVoice,nValue,nLength,nCdots);
50   return 0;
51 }
52
53 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
54                               INT16 nMode, INT16 nPitch)
55 {
56   FIXME(sound, "(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo, 
57         nVolume, nMode, nPitch);
58   return 0;
59 }
60
61 DWORD WINAPI SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
62                               DWORD nMode, DWORD nPitch)
63 {
64   FIXME(sound, "(%ld,%ld,%ld,%ld,%ld): stub\n", nVoice, nTempo, 
65         nVolume, nMode, nPitch);
66   return 0;
67 }
68
69 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
70 {
71   FIXME(sound, "(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
72   return 0;
73 }
74
75 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
76 {
77   FIXME(sound, "(%ld,%ld,%ld): stub\n",nVoice,nShape,nRepeat);
78   return 0;
79 }
80
81 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
82 {
83   FIXME(sound, "(%d,%d): stub\n",nSource,nDuration);
84   return 0;
85 }
86
87 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
88 {
89   FIXME(sound, "(%ld,%ld): stub\n",nSource,nDuration);
90   return 0;
91 }
92
93 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
94 {
95   FIXME(sound, "(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
96   return 0;
97 }
98
99 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
100 {
101   FIXME(sound, "(%ld, %ld, %ld): stub\n",nVoice,lFrequency, nDuration);
102   return 0;
103 }
104
105 INT16 WINAPI StartSound16(void)
106 {
107   return 0;
108 }
109
110 INT16 WINAPI StopSound16(void)
111 {
112   return 0;
113 }
114
115 INT16 WINAPI WaitSoundState16(INT16 x)
116 {
117     FIXME(sound, "(%d): stub\n", x);
118     return 0;
119 }
120
121 DWORD WINAPI WaitSoundState32(DWORD x)
122 {
123     FIXME(sound, "(%ld): stub\n", x);
124     return 0;
125 }
126
127 INT16 WINAPI SyncAllVoices16(void)
128 {
129     FIXME(sound, "(void): stub\n");
130     return 0;
131 }
132
133 DWORD WINAPI SyncAllVoices32(void)
134 {
135     FIXME(sound, "(void): stub\n");
136     return 0;
137 }
138
139 INT16 WINAPI CountVoiceNotes16(INT16 x)
140 {
141     FIXME(sound, "(%d): stub\n", x);
142     return 0;
143 }
144
145 DWORD WINAPI CountVoiceNotes32(DWORD x)
146 {
147     FIXME(sound, "(%ld): stub\n", x);
148     return 0;
149 }
150
151 LPINT16 WINAPI GetThresholdEvent16(void)
152 {
153     FIXME(sound, "(void): stub\n");
154     return NULL;
155 }
156
157 LPDWORD WINAPI GetThresholdEvent32(void)
158 {
159     FIXME(sound, "(void): stub\n");
160     return NULL;
161 }
162
163 INT16 WINAPI GetThresholdStatus16(void)
164 {
165     FIXME(sound, "(void): stub\n");
166     return 0;
167 }
168
169 DWORD WINAPI GetThresholdStatus32(void)
170 {
171     FIXME(sound, "(void): stub\n");
172     return 0;
173 }
174
175 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
176 {
177     FIXME(sound, "(%d,%d): stub\n", a, b);
178     return 0;
179 }
180
181 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
182 {
183     FIXME(sound, "(%ld,%ld): stub\n", a, b);
184     return 0;
185 }
186
187 void WINAPI DoBeep(void)
188 {
189     FIXME(sound, "(void): stub!\n");
190 }
191
192
193
194