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