Release 970804
[wine/multimedia.git] / misc / sound.c
blob7c06aea85d8ef30a930951b1bfd3d66b5a765bb9
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 OpenSound16(void)
12 printf("OpenSound16()\n");
13 return -1;
16 void OpenSound32(void)
18 printf("OpenSound32()\n");
21 void CloseSound(void)
23 printf("CloseSound()\n");
26 INT16 SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
28 printf("SetVoiceQueueSize16 (%d,%d)\n",nVoice,nBytes);
29 return 0;
32 DWORD SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
34 printf("SetVoiceQueueSize32 (%ld,%ld)\n",nVoice,nBytes);
35 return 0;
38 INT16 SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength, INT16 nCdots)
40 printf("SetVoiceNote16 (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
41 return 0;
44 DWORD SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength, DWORD nCdots)
46 printf("SetVoiceNote32 (%ld,%ld,%ld,%ld)\n",nVoice,nValue,nLength,nCdots);
47 return 0;
50 INT16 SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
51 INT16 nMode, INT16 nPitch)
53 printf("SetVoiceAccent16(%d,%d,%d,%d,%d)\n", nVoice, nTempo,
54 nVolume, nMode, nPitch);
55 return 0;
58 DWORD SetVoiceAccent32(DWORD nVoice, DWORD nTempo, DWORD nVolume,
59 DWORD nMode, DWORD nPitch)
61 printf("SetVoiceAccent32(%ld,%ld,%ld,%ld,%ld)\n", nVoice, nTempo,
62 nVolume, nMode, nPitch);
63 return 0;
66 INT16 SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
68 printf("SetVoiceEnvelope16(%d,%d,%d)\n",nVoice,nShape,nRepeat);
69 return 0;
72 DWORD SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
74 printf("SetVoiceEnvelope32(%ld,%ld,%ld)\n",nVoice,nShape,nRepeat);
75 return 0;
78 INT16 SetSoundNoise16(INT16 nSource, INT16 nDuration)
80 printf("SetSoundNoise16(%d,%d)\n",nSource,nDuration);
81 return 0;
84 DWORD SetSoundNoise32(DWORD nSource, DWORD nDuration)
86 printf("SetSoundNoise32(%ld,%ld)\n",nSource,nDuration);
87 return 0;
90 INT16 SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
92 printf("SetVoiceSound16(%d, %ld, %d)\n",nVoice,lFrequency, nDuration);
93 return 0;
96 DWORD SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
98 printf("SetVoiceSound32(%ld, %ld, %ld)\n",nVoice,lFrequency, nDuration);
99 return 0;
102 INT16 StartSound16(void)
104 return 0;
107 INT16 StopSound16(void)
109 return 0;
112 INT16 WaitSoundState16(INT16 x)
114 fprintf(stderr, "WaitSoundState16(%d)\n", x);
115 return 0;
118 DWORD WaitSoundState32(DWORD x)
120 fprintf(stderr, "WaitSoundState32(%ld)\n", x);
121 return 0;
124 INT16 SyncAllVoices16(void)
126 fprintf(stderr, "SyncAllVoices16()\n");
127 return 0;
130 DWORD SyncAllVoices32(void)
132 fprintf(stderr, "SyncAllVoices32()\n");
133 return 0;
136 INT16 CountVoiceNotes16(INT16 x)
138 fprintf(stderr, "CountVoiceNotes16(%d)\n", x);
139 return 0;
142 DWORD CountVoiceNotes32(DWORD x)
144 fprintf(stderr, "CountVoiceNotes32(%ld)\n", x);
145 return 0;
148 LPINT16 GetThresholdEvent16(void)
150 fprintf(stderr, "GetThresholdEvent16()\n");
151 return NULL;
154 LPDWORD GetThresholdEvent32(void)
156 fprintf(stderr, "GetThresholdEvent32()\n");
157 return NULL;
160 INT16 GetThresholdStatus16(void)
162 fprintf(stderr, "GetThresholdStatus16()\n");
163 return 0;
166 DWORD GetThresholdStatus32(void)
168 fprintf(stderr, "GetThresholdStatus32()\n");
169 return 0;
172 INT16 SetVoiceThreshold16(INT16 a, INT16 b)
174 fprintf(stderr, "SetVoiceThreshold16(%d,%d)\n", a, b);
175 return 0;
178 DWORD SetVoiceThreshold32(DWORD a, DWORD b)
180 fprintf(stderr, "SetVoiceThreshold32(%ld,%ld)\n", a, b);
181 return 0;
184 void DoBeep(void)
186 fprintf(stderr, "BEEP!\n");