Release 941210
[wine/multimedia.git] / misc / sound.c
blob6d1b3215452ecf8054f3c788e61be5498fc4da31
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 "prototypes.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, %d, %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);
73 int SyncAllVoices(void)
75 fprintf(stderr, "SyncAllVoices()\n");
78 int CountVoiceNotes(int x)
80 fprintf(stderr, "CountVoiceNotes(%d)\n", x);
83 LPINT GetThresholdEvent(void)
85 fprintf(stderr, "GetThresholdEvent()\n");
88 int GetThresholdStatus(void)
90 fprintf(stderr, "GetThresholdStatus()\n");
93 int SetVoiceThreshold(int a, int b)
95 fprintf(stderr, "SetVoiceThreshold(%d,%d)\n", a, b);
98 void DoBeep(void)
100 fprintf(stderr, "BEEP!\n");
104 11 pascal WAITSOUNDSTATE(word) WaitSoundState(1)
105 12 pascal SYNCALLVOICES() SyncAllVoices()
106 13 pascal COUNTVOICENOTES(word) CountVoiceNotes(1)
107 14 pascal GETTHRESHOLDEVENT() GetThresholdEvent()
108 15 pascal GETTHRESHOLDSTATUS() GetThresholdStatus()
109 16 pascal SETVOICETHRESHOLD(word word) SetVoiceThreshold(1 2)