Release 960114
[wine/gsoc-2012-control.git] / misc / sound.c
blob8b8696db3e826bf7d635246158f4430f4fa27ab1
1 /*
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";
4 */
6 #include <stdlib.h>
7 #include <stdio.h>
8 #include "windows.h"
10 int OpenSound(void)
12 printf("OpenSound()\n");
13 return -1;
16 void CloseSound(void)
18 printf("CloseSound()\n");
21 int SetVoiceQueueSize(int nVoice, int nBytes)
23 printf("SetVoiceQueueSize (%d,%d)\n",nVoice,nBytes);
24 return 0;
27 int SetVoiceNote(int nVoice, int nValue, int nLength, int nCdots)
29 printf("SetVoiceNote (%d,%d,%d,%d)\n",nVoice,nValue,nLength,nCdots);
30 return 0;
33 int SetVoiceAccent(int nVoice, int nTempo, int nVolume, int nMode, int nPitch)
35 printf("SetVoiceAccent(%d,%d,%d,%d,%d)\n", nVoice, nTempo,
36 nVolume, nMode, nPitch);
37 return 0;
40 int SetVoiceEnvelope(int nVoice, int nShape, int nRepeat)
42 printf("SetVoiceEnvelope(%d,%d,%d)\n",nVoice,nShape,nRepeat);
43 return 0;
46 int SetSoundNoise(int nSource, int nDuration)
48 printf("SetSoundNoise(%d,%d)\n",nSource,nDuration);
49 return 0;
52 int SetVoiceSound(int nVoice, long lFrequency, int nDuration)
54 printf("SetVoiceSound(%d, %ld, %d)\n",nVoice,lFrequency, nDuration);
55 return 0;
58 int StartSound(void)
60 return 0;
63 int StopSound(void)
65 return 0;
68 int WaitSoundState(int x)
70 fprintf(stderr, "WaitSoundState(%d)\n", x);
71 return 0;
74 int SyncAllVoices(void)
76 fprintf(stderr, "SyncAllVoices()\n");
77 return 0;
80 int CountVoiceNotes(int x)
82 fprintf(stderr, "CountVoiceNotes(%d)\n", x);
83 return 0;
86 LPINT GetThresholdEvent(void)
88 fprintf(stderr, "GetThresholdEvent()\n");
89 return NULL;
92 int GetThresholdStatus(void)
94 fprintf(stderr, "GetThresholdStatus()\n");
95 return 0;
98 int SetVoiceThreshold(int a, int b)
100 fprintf(stderr, "SetVoiceThreshold(%d,%d)\n", a, b);
101 return 0;
104 void DoBeep(void)
106 fprintf(stderr, "BEEP!\n");
110 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
111 12 pascal SYNCALLVOICES() SyncAllVoices()
112 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
113 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
114 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
115 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)