Hacked stdio functions to use Win32 file handles. Still needs a proper
[wine/multimedia.git] / misc / sound.c
blob337bc488fcb84b10cf6d4c9457ce6ebacf7c4e54
1 /*
2 * Copyright Robert J. Amstadt, 1993
3 */
5 #include <stdlib.h>
6 #include "windows.h"
7 #include "debug.h"
9 INT16 WINAPI OpenSound16(void)
11 FIXME(sound, "(void): stub\n");
12 return -1;
15 void WINAPI OpenSound32(void)
17 FIXME(sound, "(void): stub\n");
20 void WINAPI CloseSound(void)
22 FIXME(sound, "(void): stub\n");
25 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
27 FIXME(sound, "(%d,%d): stub\n",nVoice,nBytes);
28 return 0;
31 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
33 FIXME(sound, "(%ld,%ld): stub\n",nVoice,nBytes);
34 return 0;
37 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
38 INT16 nCdots)
40 FIXME(sound, "(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
41 return 0;
44 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
45 DWORD nCdots)
47 FIXME(sound, "(%ld,%ld,%ld,%ld): stub\n",nVoice,nValue,nLength,nCdots);
48 return 0;
51 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
52 INT16 nMode, INT16 nPitch)
54 FIXME(sound, "(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
55 nVolume, nMode, nPitch);
56 return 0;
59 DWORD WINAPI SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
60 DWORD nMode, DWORD nPitch)
62 FIXME(sound, "(%ld,%ld,%ld,%ld,%ld): stub\n", nVoice, nTempo,
63 nVolume, nMode, nPitch);
64 return 0;
67 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
69 FIXME(sound, "(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
70 return 0;
73 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
75 FIXME(sound, "(%ld,%ld,%ld): stub\n",nVoice,nShape,nRepeat);
76 return 0;
79 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
81 FIXME(sound, "(%d,%d): stub\n",nSource,nDuration);
82 return 0;
85 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
87 FIXME(sound, "(%ld,%ld): stub\n",nSource,nDuration);
88 return 0;
91 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
93 FIXME(sound, "(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
94 return 0;
97 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
99 FIXME(sound, "(%ld, %ld, %ld): stub\n",nVoice,lFrequency, nDuration);
100 return 0;
103 INT16 WINAPI StartSound16(void)
105 return 0;
108 INT16 WINAPI StopSound16(void)
110 return 0;
113 INT16 WINAPI WaitSoundState16(INT16 x)
115 FIXME(sound, "(%d): stub\n", x);
116 return 0;
119 DWORD WINAPI WaitSoundState32(DWORD x)
121 FIXME(sound, "(%ld): stub\n", x);
122 return 0;
125 INT16 WINAPI SyncAllVoices16(void)
127 FIXME(sound, "(void): stub\n");
128 return 0;
131 DWORD WINAPI SyncAllVoices32(void)
133 FIXME(sound, "(void): stub\n");
134 return 0;
137 INT16 WINAPI CountVoiceNotes16(INT16 x)
139 FIXME(sound, "(%d): stub\n", x);
140 return 0;
143 DWORD WINAPI CountVoiceNotes32(DWORD x)
145 FIXME(sound, "(%ld): stub\n", x);
146 return 0;
149 LPINT16 WINAPI GetThresholdEvent16(void)
151 FIXME(sound, "(void): stub\n");
152 return NULL;
155 LPDWORD WINAPI GetThresholdEvent32(void)
157 FIXME(sound, "(void): stub\n");
158 return NULL;
161 INT16 WINAPI GetThresholdStatus16(void)
163 FIXME(sound, "(void): stub\n");
164 return 0;
167 DWORD WINAPI GetThresholdStatus32(void)
169 FIXME(sound, "(void): stub\n");
170 return 0;
173 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
175 FIXME(sound, "(%d,%d): stub\n", a, b);
176 return 0;
179 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
181 FIXME(sound, "(%ld,%ld): stub\n", a, b);
182 return 0;
185 void WINAPI DoBeep(void)
187 FIXME(sound, "(void): stub!\n");