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";
4 #include "prototypes.h"
8 printf("OpenSound()\n");
14 printf("CloseSound()\n");
17 int SetVoiceQueueSize(int nVoice
, int nBytes
)
19 printf("SetVoiceQueueSize (%d,%d)\n",nVoice
,nBytes
);
23 int SetVoiceNote(int nVoice
, int nValue
, int nLength
, int nCdots
)
25 printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice
,nValue
,nLength
,nCdots
);
29 int SetVoiceAccent(int nVoice
, int nTempo
, int nVolume
, int nMode
, int nPitch
)
31 printf("SetVoiceAccent(%d,%d,%d,%d,%d)\n", nVoice
, nTempo
,
32 nVolume
, nMode
, nPitch
);
36 int SetVoiceEnvelope(int nVoice
, int nShape
, int nRepeat
)
38 printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice
,nShape
,nRepeat
);
42 int SetSoundNoise(int nSource
, int nDuration
)
44 printf("SetSoundNoise(%d,%d)\n",nSource
,nDuration
);
48 int SetVoiceSound(int nVoice
, long lFrequency
, int nDuration
)
50 printf("SetVoiceSound(%d, %d, %d)\n",nVoice
,lFrequency
, nDuration
);
66 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
67 12 pascal SYNCALLVOICES() SyncAllVoices()
68 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
69 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
70 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
71 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)