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