1 static char RCSId
[] = "$Id: heap.c,v 1.3 1993/07/04 04:04:21 root Exp root $";
2 static char Copyright
[] = "Copyright Robert J. Amstadt, 1993";
6 #include "prototypes.h"
10 printf("OpenSound()\n");
16 printf("CloseSound()\n");
19 int SetVoiceQueueSize(int nVoice
, int nBytes
)
21 printf("SetVoiceQueueSize (%d,%d)\n",nVoice
,nBytes
);
25 int SetVoiceNote(int nVoice
, int nValue
, int nLength
, int nCdots
)
27 printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice
,nValue
,nLength
,nCdots
);
31 int SetVoiceAccent(int nVoice
, int nTempo
, int nVolume
, int nMode
, int nPitch
)
33 printf("SetVoiceAccent(%d,%d,%d,%d,%d)\n", nVoice
, nTempo
,
34 nVolume
, nMode
, nPitch
);
38 int SetVoiceEnvelope(int nVoice
, int nShape
, int nRepeat
)
40 printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice
,nShape
,nRepeat
);
44 int SetSoundNoise(int nSource
, int nDuration
)
46 printf("SetSoundNoise(%d,%d)\n",nSource
,nDuration
);
50 int SetVoiceSound(int nVoice
, long lFrequency
, int nDuration
)
52 printf("SetVoiceSound(%d, %d, %d)\n",nVoice
,lFrequency
, nDuration
);
68 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
69 12 pascal SYNCALLVOICES() SyncAllVoices()
70 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
71 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
72 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
73 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)