Release 1.6-rc2.
[wine/testsucceed.git] / dlls / sound.drv16 / sound.c
blob0f1386cf1604cc1cbaf78422dfeb49eddde02c3b
1 /*
2 * 16-bit sound support
4 * Copyright Robert J. Amstadt, 1993
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.
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.
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
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"
28 WINE_DEFAULT_DEBUG_CHANNEL(sound);
30 /***********************************************************************
31 * OpenSound (SOUND.1)
33 INT16 WINAPI OpenSound16(void)
35 FIXME("(void): stub\n");
36 return -1;
39 /***********************************************************************
40 * CloseSound (SOUND.2)
42 void WINAPI CloseSound16(void)
44 FIXME("(void): stub\n");
47 /***********************************************************************
48 * SetVoiceQueueSize (SOUND.3)
50 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
52 FIXME("(%d,%d): stub\n",nVoice,nBytes);
53 return 0;
56 /***********************************************************************
57 * SetVoiceNote (SOUND.4)
59 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
60 INT16 nCdots)
62 FIXME("(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
63 return 0;
66 /***********************************************************************
67 * SetVoiceAccent (SOUND.5)
69 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
70 INT16 nMode, INT16 nPitch)
72 FIXME("(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
73 nVolume, nMode, nPitch);
74 return 0;
77 /***********************************************************************
78 * SetVoiceEnvelope (SOUND.6)
80 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
82 FIXME("(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
83 return 0;
86 /***********************************************************************
87 * SetSoundNoise (SOUND.7)
89 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
91 FIXME("(%d,%d): stub\n",nSource,nDuration);
92 return 0;
95 /***********************************************************************
96 * SetVoiceSound (SOUND.8)
98 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
100 FIXME("(%d, %d, %d): stub\n",nVoice,lFrequency, nDuration);
101 return 0;
104 /***********************************************************************
105 * StartSound (SOUND.9)
107 INT16 WINAPI StartSound16(void)
109 return 0;
112 /***********************************************************************
113 * StopSound (SOUND.10)
115 INT16 WINAPI StopSound16(void)
117 return 0;
120 /***********************************************************************
121 * WaitSoundState (SOUND.11)
123 INT16 WINAPI WaitSoundState16(INT16 x)
125 FIXME("(%d): stub\n", x);
126 return 0;
129 /***********************************************************************
130 * SyncAllVoices (SOUND.12)
132 INT16 WINAPI SyncAllVoices16(void)
134 FIXME("(void): stub\n");
135 return 0;
138 /***********************************************************************
139 * CountVoiceNotes (SOUND.13)
141 INT16 WINAPI CountVoiceNotes16(INT16 x)
143 FIXME("(%d): stub\n", x);
144 return 0;
147 /***********************************************************************
148 * GetThresholdEvent (SOUND.14)
150 LPINT16 WINAPI GetThresholdEvent16(void)
152 FIXME("(void): stub\n");
153 return NULL;
156 /***********************************************************************
157 * GetThresholdStatus (SOUND.15)
159 INT16 WINAPI GetThresholdStatus16(void)
161 FIXME("(void): stub\n");
162 return 0;
165 /***********************************************************************
166 * SetVoiceThreshold (SOUND.16)
168 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
170 FIXME("(%d,%d): stub\n", a, b);
171 return 0;
174 /***********************************************************************
175 * DoBeep (SOUND.17)
177 void WINAPI DoBeep16(void)
179 FIXME("(void): stub!\n");