Release 940804
[wine/gsoc-2012-control.git] / misc / sound.c
blob0728953eba6af4ad69160d0da29057cf06da1095
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 <stdlib.h>
5 #include <stdio.h>
6 #include "prototypes.h"
8 int OpenSound(void)
10 printf("OpenSound()\n");
11 return -1;
14 void CloseSound(void)
16 printf("CloseSound()\n");
19 int SetVoiceQueueSize(int nVoice, int nBytes)
21 printf("SetVoiceQueueSize (%d,%d)\n",nVoice,nBytes);
22 return 0;
25 int SetVoiceNote(int nVoice, int nValue, int nLength, int nCdots)
27 printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
28 return 0;
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);
35 return 0;
38 int SetVoiceEnvelope(int nVoice, int nShape, int nRepeat)
40 printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice,nShape,nRepeat);
41 return 0;
44 int SetSoundNoise(int nSource, int nDuration)
46 printf("SetSoundNoise(%d,%d)\n",nSource,nDuration);
47 return 0;
50 int SetVoiceSound(int nVoice, long lFrequency, int nDuration)
52 printf("SetVoiceSound(%d, %d, %d)\n",nVoice,lFrequency, nDuration);
53 return 0;
56 int StartSound(void)
58 return 0;
61 int StopSound(void)
63 return 0;
66 int WaitSoundState(int x)
68 fprintf(stderr, "WaitSoundState(%d)\n", x);
71 SyncAllVoices(void)
73 fprintf(stderr, "SyncAllVoices()\n");
76 int CountVoiceNotes(int x)
78 fprintf(stderr, "CountVoiceNotes(%d)\n", x);
81 LPINT GetThresholdEvent(void)
83 fprintf(stderr, "GetThresholdEvent()\n");
86 GetThresholdStatus(void)
88 fprintf(stderr, "GetThresholdStatus()\n");
91 int SetVoiceThreshold(int a, int b)
93 fprintf(stderr, "SetVoiceThreshold(%d,%d)\n", a, b);
96 void DoBeep(void)
98 fprintf(stderr, "BEEP!\n");
102 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
103 12 pascal SYNCALLVOICES() SyncAllVoices()
104 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
105 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
106 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
107 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)