Release 980301
[wine] / misc / sound.c
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 */
5
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include "windows.h"
9
10 INT16 WINAPI OpenSound16(void)
11 {
12   printf("OpenSound16()\n");
13   return -1;
14 }
15
16 void WINAPI OpenSound32(void)
17 {
18   printf("OpenSound32()\n");
19 }
20
21 void WINAPI CloseSound(void)
22 {
23   printf("CloseSound()\n");
24 }
25
26 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
27 {
28   printf("SetVoiceQueueSize16 (%d,%d)\n",nVoice,nBytes);
29   return 0;
30 }
31
32 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
33 {
34   printf("SetVoiceQueueSize32 (%ld,%ld)\n",nVoice,nBytes);
35   return 0;
36 }
37
38 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
39                             INT16 nCdots)
40 {
41   printf("SetVoiceNote16 (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
42   return 0;
43 }
44
45 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
46                             DWORD nCdots)
47 {
48   printf("SetVoiceNote32 (%ld,%ld,%ld,%ld)\n",nVoice,nValue,nLength,nCdots);
49   return 0;
50 }
51
52 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
53                               INT16 nMode, INT16 nPitch)
54 {
55   printf("SetVoiceAccent16(%d,%d,%d,%d,%d)\n", nVoice, nTempo, 
56          nVolume, nMode, nPitch);
57   return 0;
58 }
59
60 DWORD WINAPI SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
61                               DWORD nMode, DWORD nPitch)
62 {
63   printf("SetVoiceAccent32(%ld,%ld,%ld,%ld,%ld)\n", nVoice, nTempo, 
64          nVolume, nMode, nPitch);
65   return 0;
66 }
67
68 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
69 {
70   printf("SetVoiceEnvelope16(%d,%d,%d)\n",nVoice,nShape,nRepeat);
71   return 0;
72 }
73
74 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
75 {
76   printf("SetVoiceEnvelope32(%ld,%ld,%ld)\n",nVoice,nShape,nRepeat);
77   return 0;
78 }
79
80 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
81 {
82   printf("SetSoundNoise16(%d,%d)\n",nSource,nDuration);
83   return 0;
84 }
85
86 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
87 {
88   printf("SetSoundNoise32(%ld,%ld)\n",nSource,nDuration);
89   return 0;
90 }
91
92 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
93 {
94   printf("SetVoiceSound16(%d, %ld, %d)\n",nVoice,lFrequency, nDuration);
95   return 0;
96 }
97
98 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
99 {
100   printf("SetVoiceSound32(%ld, %ld, %ld)\n",nVoice,lFrequency, nDuration);
101   return 0;
102 }
103
104 INT16 WINAPI StartSound16(void)
105 {
106   return 0;
107 }
108
109 INT16 WINAPI StopSound16(void)
110 {
111   return 0;
112 }
113
114 INT16 WINAPI WaitSoundState16(INT16 x)
115 {
116     fprintf(stderr, "WaitSoundState16(%d)\n", x);
117     return 0;
118 }
119
120 DWORD WINAPI WaitSoundState32(DWORD x)
121 {
122     fprintf(stderr, "WaitSoundState32(%ld)\n", x);
123     return 0;
124 }
125
126 INT16 WINAPI SyncAllVoices16(void)
127 {
128     fprintf(stderr, "SyncAllVoices16()\n");
129     return 0;
130 }
131
132 DWORD WINAPI SyncAllVoices32(void)
133 {
134     fprintf(stderr, "SyncAllVoices32()\n");
135     return 0;
136 }
137
138 INT16 WINAPI CountVoiceNotes16(INT16 x)
139 {
140     fprintf(stderr, "CountVoiceNotes16(%d)\n", x);
141     return 0;
142 }
143
144 DWORD WINAPI CountVoiceNotes32(DWORD x)
145 {
146     fprintf(stderr, "CountVoiceNotes32(%ld)\n", x);
147     return 0;
148 }
149
150 LPINT16 WINAPI GetThresholdEvent16(void)
151 {
152     fprintf(stderr, "GetThresholdEvent16()\n");
153     return NULL;
154 }
155
156 LPDWORD WINAPI GetThresholdEvent32(void)
157 {
158     fprintf(stderr, "GetThresholdEvent32()\n");
159     return NULL;
160 }
161
162 INT16 WINAPI GetThresholdStatus16(void)
163 {
164     fprintf(stderr, "GetThresholdStatus16()\n");
165     return 0;
166 }
167
168 DWORD WINAPI GetThresholdStatus32(void)
169 {
170     fprintf(stderr, "GetThresholdStatus32()\n");
171     return 0;
172 }
173
174 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
175 {
176         fprintf(stderr, "SetVoiceThreshold16(%d,%d)\n", a, b);
177         return 0;
178 }
179
180 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
181 {
182     fprintf(stderr, "SetVoiceThreshold32(%ld,%ld)\n", a, b);
183     return 0;
184 }
185
186 void WINAPI DoBeep(void)
187 {
188         fprintf(stderr, "BEEP!\n");
189 }