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";
10 INT16 WINAPI OpenSound16(void)
12 printf("OpenSound16()\n");
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);
32 DWORD WINAPI SetVoiceQueueSize32(DWORD nVoice, DWORD nBytes)
34 printf("SetVoiceQueueSize32 (%ld,%ld)\n",nVoice,nBytes);
38 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
41 printf("SetVoiceNote16 (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
45 DWORD WINAPI SetVoiceNote32(DWORD nVoice, DWORD nValue, DWORD nLength,
48 printf("SetVoiceNote32 (%ld,%ld,%ld,%ld)\n",nVoice,nValue,nLength,nCdots);
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);
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);
68 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
70 printf("SetVoiceEnvelope16(%d,%d,%d)\n",nVoice,nShape,nRepeat);
74 DWORD WINAPI SetVoiceEnvelope32(DWORD nVoice, DWORD nShape, DWORD nRepeat)
76 printf("SetVoiceEnvelope32(%ld,%ld,%ld)\n",nVoice,nShape,nRepeat);
80 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
82 printf("SetSoundNoise16(%d,%d)\n",nSource,nDuration);
86 DWORD WINAPI SetSoundNoise32(DWORD nSource, DWORD nDuration)
88 printf("SetSoundNoise32(%ld,%ld)\n",nSource,nDuration);
92 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
94 printf("SetVoiceSound16(%d, %ld, %d)\n",nVoice,lFrequency, nDuration);
98 DWORD WINAPI SetVoiceSound32(DWORD nVoice, DWORD lFrequency, DWORD nDuration)
100 printf("SetVoiceSound32(%ld, %ld, %ld)\n",nVoice,lFrequency, nDuration);
104 INT16 WINAPI StartSound16(void)
109 INT16 WINAPI StopSound16(void)
114 INT16 WINAPI WaitSoundState16(INT16 x)
116 fprintf(stderr, "WaitSoundState16(%d)\n", x);
120 DWORD WINAPI WaitSoundState32(DWORD x)
122 fprintf(stderr, "WaitSoundState32(%ld)\n", x);
126 INT16 WINAPI SyncAllVoices16(void)
128 fprintf(stderr, "SyncAllVoices16()\n");
132 DWORD WINAPI SyncAllVoices32(void)
134 fprintf(stderr, "SyncAllVoices32()\n");
138 INT16 WINAPI CountVoiceNotes16(INT16 x)
140 fprintf(stderr, "CountVoiceNotes16(%d)\n", x);
144 DWORD WINAPI CountVoiceNotes32(DWORD x)
146 fprintf(stderr, "CountVoiceNotes32(%ld)\n", x);
150 LPINT16 WINAPI GetThresholdEvent16(void)
152 fprintf(stderr, "GetThresholdEvent16()\n");
156 LPDWORD WINAPI GetThresholdEvent32(void)
158 fprintf(stderr, "GetThresholdEvent32()\n");
162 INT16 WINAPI GetThresholdStatus16(void)
164 fprintf(stderr, "GetThresholdStatus16()\n");
168 DWORD WINAPI GetThresholdStatus32(void)
170 fprintf(stderr, "GetThresholdStatus32()\n");
174 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
176 fprintf(stderr, "SetVoiceThreshold16(%d,%d)\n", a, b);
180 DWORD WINAPI SetVoiceThreshold32(DWORD a, DWORD b)
182 fprintf(stderr, "SetVoiceThreshold32(%ld,%ld)\n", a, b);
186 void WINAPI DoBeep(void)
188 fprintf(stderr, "BEEP!\n");