More portability fixes (thanks to Juergen Lock).
[wine/multimedia.git] / dlls / sound / sound_main.c
blob8ceeca64dfc6bbecdf92f16409fa6c1587ca1431
1 /*
2 * Copyright Robert J. Amstadt, 1993
3 */
5 #include <stdlib.h>
6 #include "windef.h"
7 #include "wine/winesound.h"
8 #include "debugtools.h"
10 DEFAULT_DEBUG_CHANNEL(sound)
12 INT16 WINAPI OpenSound16(void)
14 FIXME("(void): stub\n");
15 return -1;
18 void WINAPI OpenSound(void)
20 FIXME("(void): stub\n");
23 void WINAPI CloseSound16(void)
25 FIXME("(void): stub\n");
28 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
30 FIXME("(%d,%d): stub\n",nVoice,nBytes);
31 return 0;
34 DWORD WINAPI SetVoiceQueueSize(DWORD nVoice, DWORD nBytes)
36 FIXME("(%ld,%ld): stub\n",nVoice,nBytes);
37 return 0;
40 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
41 INT16 nCdots)
43 FIXME("(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
44 return 0;
47 DWORD WINAPI SetVoiceNote(DWORD nVoice, DWORD nValue, DWORD nLength,
48 DWORD nCdots)
50 FIXME("(%ld,%ld,%ld,%ld): stub\n",nVoice,nValue,nLength,nCdots);
51 return 0;
54 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
55 INT16 nMode, INT16 nPitch)
57 FIXME("(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
58 nVolume, nMode, nPitch);
59 return 0;
62 DWORD WINAPI SetVoiceAccent(DWORD nVoice, DWORD nTempo, DWORD nVolume,
63 DWORD nMode, DWORD nPitch)
65 FIXME("(%ld,%ld,%ld,%ld,%ld): stub\n", nVoice, nTempo,
66 nVolume, nMode, nPitch);
67 return 0;
70 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
72 FIXME("(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
73 return 0;
76 DWORD WINAPI SetVoiceEnvelope(DWORD nVoice, DWORD nShape, DWORD nRepeat)
78 FIXME("(%ld,%ld,%ld): stub\n",nVoice,nShape,nRepeat);
79 return 0;
82 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
84 FIXME("(%d,%d): stub\n",nSource,nDuration);
85 return 0;
88 DWORD WINAPI SetSoundNoise(DWORD nSource, DWORD nDuration)
90 FIXME("(%ld,%ld): stub\n",nSource,nDuration);
91 return 0;
94 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
96 FIXME("(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
97 return 0;
100 DWORD WINAPI SetVoiceSound(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
102 FIXME("(%ld, %ld, %ld): stub\n",nVoice,lFrequency, nDuration);
103 return 0;
106 INT16 WINAPI StartSound16(void)
108 return 0;
111 INT16 WINAPI StopSound16(void)
113 return 0;
116 INT16 WINAPI WaitSoundState16(INT16 x)
118 FIXME("(%d): stub\n", x);
119 return 0;
122 DWORD WINAPI WaitSoundState(DWORD x)
124 FIXME("(%ld): stub\n", x);
125 return 0;
128 INT16 WINAPI SyncAllVoices16(void)
130 FIXME("(void): stub\n");
131 return 0;
134 DWORD WINAPI SyncAllVoices(void)
136 FIXME("(void): stub\n");
137 return 0;
140 INT16 WINAPI CountVoiceNotes16(INT16 x)
142 FIXME("(%d): stub\n", x);
143 return 0;
146 DWORD WINAPI CountVoiceNotes(DWORD x)
148 FIXME("(%ld): stub\n", x);
149 return 0;
152 LPINT16 WINAPI GetThresholdEvent16(void)
154 FIXME("(void): stub\n");
155 return NULL;
158 LPDWORD WINAPI GetThresholdEvent(void)
160 FIXME("(void): stub\n");
161 return NULL;
164 INT16 WINAPI GetThresholdStatus16(void)
166 FIXME("(void): stub\n");
167 return 0;
170 DWORD WINAPI GetThresholdStatus(void)
172 FIXME("(void): stub\n");
173 return 0;
176 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
178 FIXME("(%d,%d): stub\n", a, b);
179 return 0;
182 DWORD WINAPI SetVoiceThreshold(DWORD a, DWORD b)
184 FIXME("(%ld,%ld): stub\n", a, b);
185 return 0;
188 void WINAPI DoBeep16(void)
190 FIXME("(void): stub!\n");