static char RCSId[] = "$Id: heap.c,v 1.3 1993/07/04 04:04:21 root Exp root $";
static char Copyright[] = "Copyright Robert J. Amstadt, 1993";
#include <stdlib.h>
#include <stdio.h>
#include "prototypes.h"
int OpenSound(void)
{
printf("OpenSound()\n");
return -1;
}
void CloseSound(void)
printf("CloseSound()\n");
int SetVoiceQueueSize(int nVoice, int nBytes)
printf("SetVoiceQueueSize (%d,%d)\n",nVoice,nBytes);
return 0;
int SetVoiceNote(int nVoice, int nValue, int nLength, int nCdots)
printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
int SetVoiceAccent(int nVoice, int nTempo, int nVolume, int nMode, int nPitch)
printf("SetVoiceAccent(%d,%d,%d,%d,%d)\n", nVoice, nTempo,
nVolume, nMode, nPitch);
int SetVoiceEnvelope(int nVoice, int nShape, int nRepeat)
printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice,nShape,nRepeat);
int SetSoundNoise(int nSource, int nDuration)
printf("SetSoundNoise(%d,%d)\n",nSource,nDuration);
int SetVoiceSound(int nVoice, long lFrequency, int nDuration)
printf("SetVoiceSound(%d, %d, %d)\n",nVoice,lFrequency, nDuration);
int StartSound(void)
int StopSound(void)
/*
11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
12 pascal SYNCALLVOICES() SyncAllVoices()
13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)
*/