1 /*
2 * 16-bit sound support
3 *
4 * Copyright Robert J. Amstadt, 1993
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #include <stdarg.h>
22 #include <stdlib.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wine/windef16.h"
26 #include "wine/debug.h"
27
28 WINE_DEFAULT_DEBUG_CHANNEL(sound);
29
30 /***********************************************************************
31 * OpenSound (SOUND.1)
32 */
33 INT16 WINAPI OpenSound16(void)
34 {
35 FIXME("(void): stub\n");
36 return -1;
37 }
38
39 /***********************************************************************
40 * CloseSound (SOUND.2)
41 */
42 void WINAPI CloseSound16(void)
43 {
44 FIXME("(void): stub\n");
45 }
46
47 /***********************************************************************
48 * SetVoiceQueueSize (SOUND.3)
49 */
50 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
51 {
52 FIXME("(%d,%d): stub\n",nVoice,nBytes);
53 return 0;
54 }
55
56 /***********************************************************************
57 * SetVoiceNote (SOUND.4)
58 */
59 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
60 INT16 nCdots)
61 {
62 FIXME("(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
63 return 0;
64 }
65
66 /***********************************************************************
67 * SetVoiceAccent (SOUND.5)
68 */
69 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
70 INT16 nMode, INT16 nPitch)
71 {
72 FIXME("(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
73 nVolume, nMode, nPitch);
74 return 0;
75 }
76
77 /***********************************************************************
78 * SetVoiceEnvelope (SOUND.6)
79 */
80 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
81 {
82 FIXME("(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
83 return 0;
84 }
85
86 /***********************************************************************
87 * SetSoundNoise (SOUND.7)
88 */
89 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
90 {
91 FIXME("(%d,%d): stub\n",nSource,nDuration);
92 return 0;
93 }
94
95 /***********************************************************************
96 * SetVoiceSound (SOUND.8)
97 */
98 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
99 {
100 FIXME("(%d, %d, %d): stub\n",nVoice,lFrequency, nDuration);
101 return 0;
102 }
103
104 /***********************************************************************
105 * StartSound (SOUND.9)
106 */
107 INT16 WINAPI StartSound16(void)
108 {
109 return 0;
110 }
111
112 /***********************************************************************
113 * StopSound (SOUND.10)
114 */
115 INT16 WINAPI StopSound16(void)
116 {
117 return 0;
118 }
119
120 /***********************************************************************
121 * WaitSoundState (SOUND.11)
122 */
123 INT16 WINAPI WaitSoundState16(INT16 x)
124 {
125 FIXME("(%d): stub\n", x);
126 return 0;
127 }
128
129 /***********************************************************************
130 * SyncAllVoices (SOUND.12)
131 */
132 INT16 WINAPI SyncAllVoices16(void)
133 {
134 FIXME("(void): stub\n");
135 return 0;
136 }
137
138 /***********************************************************************
139 * CountVoiceNotes (SOUND.13)
140 */
141 INT16 WINAPI CountVoiceNotes16(INT16 x)
142 {
143 FIXME("(%d): stub\n", x);
144 return 0;
145 }
146
147 /***********************************************************************
148 * GetThresholdEvent (SOUND.14)
149 */
150 LPINT16 WINAPI GetThresholdEvent16(void)
151 {
152 FIXME("(void): stub\n");
153 return NULL;
154 }
155
156 /***********************************************************************
157 * GetThresholdStatus (SOUND.15)
158 */
159 INT16 WINAPI GetThresholdStatus16(void)
160 {
161 FIXME("(void): stub\n");
162 return 0;
163 }
164
165 /***********************************************************************
166 * SetVoiceThreshold (SOUND.16)
167 */
168 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
169 {
170 FIXME("(%d,%d): stub\n", a, b);
171 return 0;
172 }
173
174 /***********************************************************************
175 * DoBeep (SOUND.17)
176 */
177 void WINAPI DoBeep16(void)
178 {
179 FIXME("(void): stub!\n");
180 }
181
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.