Author: cwittich
Date: Sun Jul 29 16:08:15 2007
New Revision: 27996
URL:
http://svn.reactos.org/svn/reactos?rev=27996&view=rev
Log:
Fix warnings patch by Heis Spiter (heis_spiter at hotmail dot com)
See issue #2138 for more details.
Modified:
trunk/reactos/dll/directx/dsound/dsound_private.h
trunk/reactos/dll/directx/dsound/dxroslayer/dxros_layer.h
trunk/reactos/dll/directx/dsound/dxroslayer/dxroslayer.c
Modified: trunk/reactos/dll/directx/dsound/dsound_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound/dsound_…
==============================================================================
--- trunk/reactos/dll/directx/dsound/dsound_private.h (original)
+++ trunk/reactos/dll/directx/dsound/dsound_private.h Sun Jul 29 16:08:15 2007
@@ -18,6 +18,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
+#include "dxroslayer/dxros_layer.h"
/* Linux does not support better timing than 10ms */
#define DS_TIME_RES 10 /* Resolution of multimedia timer */
Modified: trunk/reactos/dll/directx/dsound/dxroslayer/dxros_layer.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound/dxrosla…
==============================================================================
--- trunk/reactos/dll/directx/dsound/dxroslayer/dxros_layer.h (original)
+++ trunk/reactos/dll/directx/dsound/dxroslayer/dxros_layer.h Sun Jul 29 16:08:15 2007
@@ -55,8 +55,8 @@
/* dxroslayers prototypes */
void dxGetGuidFromString( char *in_str, GUID *guid );
-DWORD dxrosdrv_drv_querydsounddesc(int type, HWAVEOUT hwo_out,HWAVEIN hwo_in,
PDSDRIVERDESC pDESC);
+DWORD dxrosdrv_drv_querydsounddescss(int type, HWAVEOUT hwo_out,HWAVEIN hwo_in,
PDSDRIVERDESC pDESC);
DWORD dxrosdrv_drv_querydsoundiface(HWAVEIN wDevID, PIDSDRIVER* drv);
-DWORD RosWineWineWaveOutMessage(HWAVEOUT hwo, UINT , DWORD_PTR , DWORD_PTR );
-DWORD RosWineWineWaveInMessage(HWAVEIN , UINT , DWORD_PTR , DWORD_PTR );
+DWORD RosWineWaveOutMessage(HWAVEOUT hwo, UINT, DWORD_PTR, DWORD_PTR);
+DWORD RosWineWaveInMessage(HWAVEIN, UINT, DWORD_PTR, DWORD_PTR);
Modified: trunk/reactos/dll/directx/dsound/dxroslayer/dxroslayer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/dsound/dxrosla…
==============================================================================
--- trunk/reactos/dll/directx/dsound/dxroslayer/dxroslayer.c (original)
+++ trunk/reactos/dll/directx/dsound/dxroslayer/dxroslayer.c Sun Jul 29 16:08:15 2007
@@ -85,7 +85,7 @@
break;
case DRV_QUERYDSOUNDIFACE:
- msg = dxrosdrv_drv_querydsoundiface((HWAVEIN)hwo, (PIDSDRIVER)dwParam1);
+ msg = dxrosdrv_drv_querydsoundiface((HWAVEIN)hwo,
(PIDSDRIVER*)dwParam1);
break;
default :
@@ -104,7 +104,7 @@
break;
case DRV_QUERYDSOUNDIFACE:
- msg = dxrosdrv_drv_querydsoundiface(hwo, (PIDSDRIVER)dwParam1);
+ msg = dxrosdrv_drv_querydsoundiface(hwo, (PIDSDRIVER*)dwParam1);
break;
default :