Release 20030408.
[wine/gsoc-2012-control.git] / dlls / winmm / sound16.c
blobbf1755ccca39e3a449fe5a099ddddaac024d5577
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include <stdlib.h>
22 #include "windef.h"
23 #include "wine/windef16.h"
24 #include "wine/debug.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(sound);
28 /***********************************************************************
29 * OpenSound (SOUND.1)
31 INT16 WINAPI OpenSound16(void)
33 FIXME("(void): stub\n");
34 return -1;
37 /***********************************************************************
38 * CloseSound (SOUND.2)
40 void WINAPI CloseSound16(void)
42 FIXME("(void): stub\n");
45 /***********************************************************************
46 * SetVoiceQueueSize (SOUND.3)
48 INT16 WINAPI SetVoiceQueueSize16(INT16 nVoice, INT16 nBytes)
50 FIXME("(%d,%d): stub\n",nVoice,nBytes);
51 return 0;
54 /***********************************************************************
55 * SetVoiceNote (SOUND.4)
57 INT16 WINAPI SetVoiceNote16(INT16 nVoice, INT16 nValue, INT16 nLength,
58 INT16 nCdots)
60 FIXME("(%d,%d,%d,%d): stub\n",nVoice,nValue,nLength,nCdots);
61 return 0;
64 /***********************************************************************
65 * SetVoiceAccent (SOUND.5)
67 INT16 WINAPI SetVoiceAccent16(INT16 nVoice, INT16 nTempo, INT16 nVolume,
68 INT16 nMode, INT16 nPitch)
70 FIXME("(%d,%d,%d,%d,%d): stub\n", nVoice, nTempo,
71 nVolume, nMode, nPitch);
72 return 0;
75 /***********************************************************************
76 * SetVoiceEnvelope (SOUND.6)
78 INT16 WINAPI SetVoiceEnvelope16(INT16 nVoice, INT16 nShape, INT16 nRepeat)
80 FIXME("(%d,%d,%d): stub\n",nVoice,nShape,nRepeat);
81 return 0;
84 /***********************************************************************
85 * SetSoundNoise (SOUND.7)
87 INT16 WINAPI SetSoundNoise16(INT16 nSource, INT16 nDuration)
89 FIXME("(%d,%d): stub\n",nSource,nDuration);
90 return 0;
93 /***********************************************************************
94 * SetVoiceSound (SOUND.8)
96 INT16 WINAPI SetVoiceSound16(INT16 nVoice, DWORD lFrequency, INT16 nDuration)
98 FIXME("(%d, %ld, %d): stub\n",nVoice,lFrequency, nDuration);
99 return 0;
102 /***********************************************************************
103 * StartSound (SOUND.9)
105 INT16 WINAPI StartSound16(void)
107 return 0;
110 /***********************************************************************
111 * StopSound (SOUND.10)
113 INT16 WINAPI StopSound16(void)
115 return 0;
118 /***********************************************************************
119 * WaitSoundState (SOUND.11)
121 INT16 WINAPI WaitSoundState16(INT16 x)
123 FIXME("(%d): stub\n", x);
124 return 0;
127 /***********************************************************************
128 * SyncAllVoices (SOUND.12)
130 INT16 WINAPI SyncAllVoices16(void)
132 FIXME("(void): stub\n");
133 return 0;
136 /***********************************************************************
137 * CountVoiceNotes (SOUND.13)
139 INT16 WINAPI CountVoiceNotes16(INT16 x)
141 FIXME("(%d): stub\n", x);
142 return 0;
145 /***********************************************************************
146 * GetThresholdEvent (SOUND.14)
148 LPINT16 WINAPI GetThresholdEvent16(void)
150 FIXME("(void): stub\n");
151 return NULL;
154 /***********************************************************************
155 * GetThresholdStatus (SOUND.15)
157 INT16 WINAPI GetThresholdStatus16(void)
159 FIXME("(void): stub\n");
160 return 0;
163 /***********************************************************************
164 * SetVoiceThreshold (SOUND.16)
166 INT16 WINAPI SetVoiceThreshold16(INT16 a, INT16 b)
168 FIXME("(%d,%d): stub\n", a, b);
169 return 0;
172 /***********************************************************************
173 * DoBeep (SOUND.17)
175 void WINAPI DoBeep16(void)
177 FIXME("(void): stub!\n");