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