Move DM* defines from winbase.h -> wingdi.h.
[wine.git] / misc / sound.c
blob3fd2bc152c85c78ebf96f65812520c516eb199ad
1 /*
2 * Copyright Robert J. Amstadt, 1993
3 */
5 #include <stdlib.h>
6 #include "windef.h"
7 #include "wine/winesound.h"
8 #include "debug.h"
10 INT16 WINAPI OpenSound16(void)
12 FIXME(sound, "(void): stub\n");
13 return -1;
16 void WINAPI OpenSound(void)
18 FIXME(sound, "(void): stub\n");
21 void WINAPI CloseSound16(void)
23 FIXME(sound, "(void): stub\n");
26 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
28 FIXME(sound, "(%d,%d): stub\n",nVoice,nBytes);
29 return 0;
32 DWORD WINAPI SetVoiceQueueSize(DWORD nVoice, DWORD nBytes)
34 FIXME(sound, "(%ld,%ld): stub\n",nVoice,nBytes);
35 return 0;
38 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
39 INT16 nCdots)
41 FIXME(sound, "(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
42 return 0;
45 DWORD WINAPI SetVoiceNote(DWORD nVoice, DWORD nValue, DWORD nLength,
46 DWORD nCdots)
48 FIXME(sound, "(%ld,%ld,%ld,%ld): stub\n",nVoice,nValue,nLength,nCdots);
49 return 0;
52 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
53 INT16 nMode, INT16 nPitch)
55 FIXME(sound, "(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
56 nVolume, nMode, nPitch);
57 return 0;
60 DWORD WINAPI SetVoiceAccent(DWORD nVoice, DWORD nTempo, DWORD nVolume,
61 DWORD nMode, DWORD nPitch)
63 FIXME(sound, "(%ld,%ld,%ld,%ld,%ld): stub\n", nVoice, nTempo,
64 nVolume, nMode, nPitch);
65 return 0;
68 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
70 FIXME(sound, "(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
71 return 0;
74 DWORD WINAPI SetVoiceEnvelope(DWORD nVoice, DWORD nShape, DWORD nRepeat)
76 FIXME(sound, "(%ld,%ld,%ld): stub\n",nVoice,nShape,nRepeat);
77 return 0;
80 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
82 FIXME(sound, "(%d,%d): stub\n",nSource,nDuration);
83 return 0;
86 DWORD WINAPI SetSoundNoise(DWORD nSource, DWORD nDuration)
88 FIXME(sound, "(%ld,%ld): stub\n",nSource,nDuration);
89 return 0;
92 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
94 FIXME(sound, "(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
95 return 0;
98 DWORD WINAPI SetVoiceSound(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
100 FIXME(sound, "(%ld, %ld, %ld): stub\n",nVoice,lFrequency, nDuration);
101 return 0;
104 INT16 WINAPI StartSound16(void)
106 return 0;
109 INT16 WINAPI StopSound16(void)
111 return 0;
114 INT16 WINAPI WaitSoundState16(INT16 x)
116 FIXME(sound, "(%d): stub\n", x);
117 return 0;
120 DWORD WINAPI WaitSoundState(DWORD x)
122 FIXME(sound, "(%ld): stub\n", x);
123 return 0;
126 INT16 WINAPI SyncAllVoices16(void)
128 FIXME(sound, "(void): stub\n");
129 return 0;
132 DWORD WINAPI SyncAllVoices(void)
134 FIXME(sound, "(void): stub\n");
135 return 0;
138 INT16 WINAPI CountVoiceNotes16(INT16 x)
140 FIXME(sound, "(%d): stub\n", x);
141 return 0;
144 DWORD WINAPI CountVoiceNotes(DWORD x)
146 FIXME(sound, "(%ld): stub\n", x);
147 return 0;
150 LPINT16 WINAPI GetThresholdEvent16(void)
152 FIXME(sound, "(void): stub\n");
153 return NULL;
156 LPDWORD WINAPI GetThresholdEvent(void)
158 FIXME(sound, "(void): stub\n");
159 return NULL;
162 INT16 WINAPI GetThresholdStatus16(void)
164 FIXME(sound, "(void): stub\n");
165 return 0;
168 DWORD WINAPI GetThresholdStatus(void)
170 FIXME(sound, "(void): stub\n");
171 return 0;
174 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
176 FIXME(sound, "(%d,%d): stub\n", a, b);
177 return 0;
180 DWORD WINAPI SetVoiceThreshold(DWORD a, DWORD b)
182 FIXME(sound, "(%ld,%ld): stub\n", a, b);
183 return 0;
186 void WINAPI DoBeep16(void)
188 FIXME(sound, "(void): stub!\n");