~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Wine Cross Reference
wine/dlls/sound.drv16/sound.c

Version: ~ [ wine-1.5.30 ] ~ [ wine-1.5.29 ] ~ [ wine-1.5.28 ] ~ [ wine-1.5.27 ] ~ [ wine-1.5.26 ] ~ [ wine-1.5.25 ] ~ [ wine-1.5.24 ] ~ [ wine-1.5.23 ] ~ [ wine-1.5.22 ] ~ [ wine-1.5.21 ] ~ [ wine-1.5.20 ] ~ [ wine-1.5.19 ] ~ [ wine-1.5.18 ] ~ [ wine-1.5.17 ] ~ [ wine-1.5.16 ] ~ [ wine-1.5.15 ] ~ [ wine-1.5.14 ] ~ [ wine-1.5.13 ] ~ [ wine-1.5.12 ] ~ [ wine-1.5.11 ] ~ [ wine-1.5.10 ] ~ [ wine-1.5.9 ] ~ [ wine-1.5.8 ] ~ [ wine-1.5.7 ] ~ [ wine-1.4.1 ] ~ [ wine-1.5.6 ] ~ [ wine-1.5.5 ] ~ [ wine-1.5.4 ] ~ [ wine-1.5.3 ] ~ [ wine-1.5.2 ] ~ [ wine-1.5.1 ] ~ [ wine-1.5.0 ] ~ [ wine-1.4 ] ~ [ wine-1.4-rc6 ] ~ [ wine-1.4-rc5 ] ~ [ wine-1.4-rc4 ] ~ [ wine-1.4-rc3 ] ~ [ wine-1.4-rc2 ] ~ [ wine-1.4-rc1 ] ~ [ wine-1.3.37 ] ~ [ wine-1.3.36 ] ~ [ wine-1.3.35 ] ~ [ wine-1.3.34 ] ~ [ wine-1.3.33 ] ~ [ wine-1.3.32 ] ~ [ wine-1.3.31 ] ~ [ wine-1.3.30 ] ~ [ wine-1.3.29 ] ~ [ wine-1.3.28 ] ~ [ wine-1.3.27 ] ~ [ wine-1.3.26 ] ~ [ wine-1.3.25 ] ~ [ wine-1.3.24 ] ~ [ wine-1.3.23 ] ~ [ wine-1.3.22 ] ~ [ wine-1.3.21 ] ~ [ wine-1.3.20 ] ~ [ wine-1.3.19 ] ~ [ wine-1.3.18 ] ~ [ wine-1.2.3 ] ~ [ wine-1.3.17 ] ~ [ wine-1.3.16 ] ~ [ wine-1.3.15 ] ~ [ wine-1.3.14 ] ~ [ wine-1.3.13 ] ~ [ wine-1.3.12 ] ~ [ wine-1.3.11 ] ~ [ wine-1.3.10 ] ~ [ wine-1.3.9 ] ~ [ wine-1.2.2 ] ~ [ wine-1.3.8 ] ~ [ wine-1.3.7 ] ~ [ wine-1.3.6 ] ~ [ wine-1.3.5 ] ~ [ wine-1.2.1 ] ~ [ wine-1.3.4 ] ~ [ wine-1.3.3 ] ~ [ wine-1.3.2 ] ~ [ wine-1.3.1 ] ~ [ wine-1.3.0 ] ~ [ wine-1.2 ] ~ [ wine-1.2-rc7 ] ~ [ wine-1.2-rc6 ] ~ [ wine-1.2-rc5 ] ~ [ wine-1.2-rc4 ] ~ [ wine-1.2-rc3 ] ~ [ wine-1.2-rc2 ] ~ [ wine-1.2-rc1 ] ~ [ wine-1.1.44 ] ~ [ wine-1.1.43 ] ~ [ wine-1.1.42 ] ~ [ wine-1.1.41 ] ~ [ wine-1.1.40 ] ~ [ wine-1.1.39 ] ~ [ wine-1.1.38 ] ~ [ wine-1.1.37 ] ~ [ wine-1.1.36 ] ~ [ wine-1.1.35 ] ~ [ wine-1.1.34 ] ~ [ wine-1.1.33 ] ~ [ wine-1.1.32 ] ~ [ wine-1.1.31 ] ~ [ wine-1.1.30 ] ~ [ wine-1.1.29 ] ~ [ wine-1.1.28 ] ~ [ wine-1.1.27 ] ~ [ wine-1.1.26 ] ~ [ wine-1.1.25 ] ~ [ wine-1.1.24 ] ~ [ wine-1.1.23 ] ~ [ wine-1.1.22 ] ~ [ wine-1.1.21 ] ~ [ wine-1.1.20 ] ~ [ wine-1.1.19 ] ~ [ wine-1.1.18 ] ~ [ wine-1.1.17 ] ~ [ wine-1.1.16 ] ~ [ wine-1.1.15 ] ~ [ wine-1.1.14 ] ~ [ wine-1.1.13 ] ~ [ wine-1.1.12 ] ~ [ wine-1.1.11 ] ~ [ wine-1.1.10 ] ~ [ wine-1.1.9 ] ~ [ wine-1.1.8 ] ~ [ wine-1.1.7 ] ~ [ wine-1.0.1 ] ~ [ wine-1.1.6 ] ~ [ wine-1.1.5 ] ~ [ wine-1.1.4 ] ~ [ wine-1.1.3 ] ~ [ wine-1.1.2 ] ~ [ wine-1.1.1 ] ~ [ wine-1.1.0 ] ~ [ wine-1.0 ] ~

  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 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.