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
OpenSound16(void)
12 printf("OpenSound16()\n");
16 void OpenSound32(void)
18 printf("OpenSound32()\n");
23 printf("CloseSound()\n");
26 INT16
SetVoiceQueueSize16(INT16 nVoice
, INT16 nBytes
)
28 printf("SetVoiceQueueSize16 (%d,%d)\n",nVoice
,nBytes
);
32 DWORD
SetVoiceQueueSize32(DWORD nVoice
, DWORD nBytes
)
34 printf("SetVoiceQueueSize32 (%ld,%ld)\n",nVoice
,nBytes
);
38 INT16
SetVoiceNote16(INT16 nVoice
, INT16 nValue
, INT16 nLength
, INT16 nCdots
)
40 printf("SetVoiceNote16 (%d,%d,%d,%d)\n",nVoice
,nValue
,nLength
,nCdots
);
44 DWORD
SetVoiceNote32(DWORD nVoice
, DWORD nValue
, DWORD nLength
, DWORD nCdots
)
46 printf("SetVoiceNote32 (%ld,%ld,%ld,%ld)\n",nVoice
,nValue
,nLength
,nCdots
);
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
);
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
);
66 INT16
SetVoiceEnvelope16(INT16 nVoice
, INT16 nShape
, INT16 nRepeat
)
68 printf("SetVoiceEnvelope16(%d,%d,%d)\n",nVoice
,nShape
,nRepeat
);
72 DWORD
SetVoiceEnvelope32(DWORD nVoice
, DWORD nShape
, DWORD nRepeat
)
74 printf("SetVoiceEnvelope32(%ld,%ld,%ld)\n",nVoice
,nShape
,nRepeat
);
78 INT16
SetSoundNoise16(INT16 nSource
, INT16 nDuration
)
80 printf("SetSoundNoise16(%d,%d)\n",nSource
,nDuration
);
84 DWORD
SetSoundNoise32(DWORD nSource
, DWORD nDuration
)
86 printf("SetSoundNoise32(%ld,%ld)\n",nSource
,nDuration
);
90 INT16
SetVoiceSound16(INT16 nVoice
, DWORD lFrequency
, INT16 nDuration
)
92 printf("SetVoiceSound16(%d, %ld, %d)\n",nVoice
,lFrequency
, nDuration
);
96 DWORD
SetVoiceSound32(DWORD nVoice
, DWORD lFrequency
, DWORD nDuration
)
98 printf("SetVoiceSound32(%ld, %ld, %ld)\n",nVoice
,lFrequency
, nDuration
);
102 INT16
StartSound16(void)
107 INT16
StopSound16(void)
112 INT16
WaitSoundState16(INT16 x
)
114 fprintf(stderr
, "WaitSoundState16(%d)\n", x
);
118 DWORD
WaitSoundState32(DWORD x
)
120 fprintf(stderr
, "WaitSoundState32(%ld)\n", x
);
124 INT16
SyncAllVoices16(void)
126 fprintf(stderr
, "SyncAllVoices16()\n");
130 DWORD
SyncAllVoices32(void)
132 fprintf(stderr
, "SyncAllVoices32()\n");
136 INT16
CountVoiceNotes16(INT16 x
)
138 fprintf(stderr
, "CountVoiceNotes16(%d)\n", x
);
142 DWORD
CountVoiceNotes32(DWORD x
)
144 fprintf(stderr
, "CountVoiceNotes32(%ld)\n", x
);
148 LPINT16
GetThresholdEvent16(void)
150 fprintf(stderr
, "GetThresholdEvent16()\n");
154 LPDWORD
GetThresholdEvent32(void)
156 fprintf(stderr
, "GetThresholdEvent32()\n");
160 INT16
GetThresholdStatus16(void)
162 fprintf(stderr
, "GetThresholdStatus16()\n");
166 DWORD
GetThresholdStatus32(void)
168 fprintf(stderr
, "GetThresholdStatus32()\n");
172 INT16
SetVoiceThreshold16(INT16 a
, INT16 b
)
174 fprintf(stderr
, "SetVoiceThreshold16(%d,%d)\n", a
, b
);
178 DWORD
SetVoiceThreshold32(DWORD a
, DWORD b
)
180 fprintf(stderr
, "SetVoiceThreshold32(%ld,%ld)\n", a
, b
);
186 fprintf(stderr
, "BEEP!\n");