Release 971012
[wine/multimedia.git] / misc / sound.c
blob452a6f74c2e2380e21e9638bf51ae3ed09cd01c5
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"
10 INT16 WINAPI OpenSound16(void)
12 printf("OpenSound16()\n");
13 return -1;
16 void WINAPI OpenSound32(void)
18 printf("OpenSound32()\n");
21 void WINAPI CloseSound(void)
23 printf("CloseSound()\n");
26 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
28 printf("SetVoiceQueueSize16 (%d,%d)\n",nVoice,nBytes);
29 return 0;
32 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
34 printf("SetVoiceQueueSize32 (%ld,%ld)\n",nVoice,nBytes);
35 return 0;
38 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
39 INT16 nCdots)
41 printf("SetVoiceNote16 (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
42 return 0;
45 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
46 DWORD nCdots)
48 printf("SetVoiceNote32 (%ld,%ld,%ld,%ld)\n",nVoice,nValue,nLength,nCdots);
49 return 0;
52 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
53 INT16 nMode, INT16 nPitch)
55 printf("SetVoiceAccent16(%d,%d,%d,%d,%d)\n", nVoice, nTempo,
56 nVolume, nMode, nPitch);
57 return 0;
60 DWORD WINAPI SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
61 DWORD nMode, DWORD nPitch)
63 printf("SetVoiceAccent32(%ld,%ld,%ld,%ld,%ld)\n", nVoice, nTempo,
64 nVolume, nMode, nPitch);
65 return 0;
68 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
70 printf("SetVoiceEnvelope16(%d,%d,%d)\n",nVoice,nShape,nRepeat);
71 return 0;
74 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
76 printf("SetVoiceEnvelope32(%ld,%ld,%ld)\n",nVoice,nShape,nRepeat);
77 return 0;
80 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
82 printf("SetSoundNoise16(%d,%d)\n",nSource,nDuration);
83 return 0;
86 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
88 printf("SetSoundNoise32(%ld,%ld)\n",nSource,nDuration);
89 return 0;
92 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
94 printf("SetVoiceSound16(%d, %ld, %d)\n",nVoice,lFrequency, nDuration);
95 return 0;
98 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
100 printf("SetVoiceSound32(%ld, %ld, %ld)\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 fprintf(stderr, "WaitSoundState16(%d)\n", x);
117 return 0;
120 DWORD WINAPI WaitSoundState32(DWORD x)
122 fprintf(stderr, "WaitSoundState32(%ld)\n", x);
123 return 0;
126 INT16 WINAPI SyncAllVoices16(void)
128 fprintf(stderr, "SyncAllVoices16()\n");
129 return 0;
132 DWORD WINAPI SyncAllVoices32(void)
134 fprintf(stderr, "SyncAllVoices32()\n");
135 return 0;
138 INT16 WINAPI CountVoiceNotes16(INT16 x)
140 fprintf(stderr, "CountVoiceNotes16(%d)\n", x);
141 return 0;
144 DWORD WINAPI CountVoiceNotes32(DWORD x)
146 fprintf(stderr, "CountVoiceNotes32(%ld)\n", x);
147 return 0;
150 LPINT16 WINAPI GetThresholdEvent16(void)
152 fprintf(stderr, "GetThresholdEvent16()\n");
153 return NULL;
156 LPDWORD WINAPI GetThresholdEvent32(void)
158 fprintf(stderr, "GetThresholdEvent32()\n");
159 return NULL;
162 INT16 WINAPI GetThresholdStatus16(void)
164 fprintf(stderr, "GetThresholdStatus16()\n");
165 return 0;
168 DWORD WINAPI GetThresholdStatus32(void)
170 fprintf(stderr, "GetThresholdStatus32()\n");
171 return 0;
174 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
176 fprintf(stderr, "SetVoiceThreshold16(%d,%d)\n", a, b);
177 return 0;
180 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
182 fprintf(stderr, "SetVoiceThreshold32(%ld,%ld)\n", a, b);
183 return 0;
186 void WINAPI DoBeep(void)
188 fprintf(stderr, "BEEP!\n");