Release 980329
[wine/multimedia.git] / misc / sound.c
blob9de81f01328679de2857b53828c11ab82dcb0227
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 */
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include "windows.h"
9 #include "debug.h"
11 INT16 WINAPI OpenSound16(void)
13 FIXME(sound, "(void): stub\n");
14 return -1;
17 void WINAPI OpenSound32(void)
19 FIXME(sound, "(void): stub\n");
22 void WINAPI CloseSound(void)
24 FIXME(sound, "(void): stub\n");
27 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
29 FIXME(sound, "(%d,%d): stub\n",nVoice,nBytes);
30 return 0;
33 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
35 FIXME(sound, "(%ld,%ld): stub\n",nVoice,nBytes);
36 return 0;
39 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
40 INT16 nCdots)
42 FIXME(sound, "(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
43 return 0;
46 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
47 DWORD nCdots)
49 FIXME(sound, "(%ld,%ld,%ld,%ld): stub\n",nVoice,nValue,nLength,nCdots);
50 return 0;
53 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
54 INT16 nMode, INT16 nPitch)
56 FIXME(sound, "(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
57 nVolume, nMode, nPitch);
58 return 0;
61 DWORD WINAPI SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
62 DWORD nMode, DWORD nPitch)
64 FIXME(sound, "(%ld,%ld,%ld,%ld,%ld): stub\n", nVoice, nTempo,
65 nVolume, nMode, nPitch);
66 return 0;
69 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
71 FIXME(sound, "(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
72 return 0;
75 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
77 FIXME(sound, "(%ld,%ld,%ld): stub\n",nVoice,nShape,nRepeat);
78 return 0;
81 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
83 FIXME(sound, "(%d,%d): stub\n",nSource,nDuration);
84 return 0;
87 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
89 FIXME(sound, "(%ld,%ld): stub\n",nSource,nDuration);
90 return 0;
93 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
95 FIXME(sound, "(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
96 return 0;
99 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
101 FIXME(sound, "(%ld, %ld, %ld): stub\n",nVoice,lFrequency, nDuration);
102 return 0;
105 INT16 WINAPI StartSound16(void)
107 return 0;
110 INT16 WINAPI StopSound16(void)
112 return 0;
115 INT16 WINAPI WaitSoundState16(INT16 x)
117 FIXME(sound, "(%d): stub\n", x);
118 return 0;
121 DWORD WINAPI WaitSoundState32(DWORD x)
123 FIXME(sound, "(%ld): stub\n", x);
124 return 0;
127 INT16 WINAPI SyncAllVoices16(void)
129 FIXME(sound, "(void): stub\n");
130 return 0;
133 DWORD WINAPI SyncAllVoices32(void)
135 FIXME(sound, "(void): stub\n");
136 return 0;
139 INT16 WINAPI CountVoiceNotes16(INT16 x)
141 FIXME(sound, "(%d): stub\n", x);
142 return 0;
145 DWORD WINAPI CountVoiceNotes32(DWORD x)
147 FIXME(sound, "(%ld): stub\n", x);
148 return 0;
151 LPINT16 WINAPI GetThresholdEvent16(void)
153 FIXME(sound, "(void): stub\n");
154 return NULL;
157 LPDWORD WINAPI GetThresholdEvent32(void)
159 FIXME(sound, "(void): stub\n");
160 return NULL;
163 INT16 WINAPI GetThresholdStatus16(void)
165 FIXME(sound, "(void): stub\n");
166 return 0;
169 DWORD WINAPI GetThresholdStatus32(void)
171 FIXME(sound, "(void): stub\n");
172 return 0;
175 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
177 FIXME(sound, "(%d,%d): stub\n", a, b);
178 return 0;
181 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
183 FIXME(sound, "(%ld,%ld): stub\n", a, b);
184 return 0;
187 void WINAPI DoBeep(void)
189 FIXME(sound, "(void): stub!\n");