getting rid of a few warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



TSIA
A+
Name:          alsa_warn
ChangeLog:     fixed a few compilation warnings
License:       X11
GenDate:       2002/07/06 12:46:30 UTC
ModifiedFiles: dlls/winmm/winealsa/audio_05.c
AddedFiles:    
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/winmm/winealsa/audio_05.c,v
retrieving revision 1.1
diff -u -u -r1.1 audio_05.c
--- dlls/winmm/winealsa/audio_05.c	28 Jun 2002 17:40:17 -0000	1.1
+++ dlls/winmm/winealsa/audio_05.c	6 Jul 2002 05:46:51 -0000
@@ -693,7 +693,7 @@
     HANDLE		ev;
 
     while (ALSA_RetrieveRingMessage(&wwo->msgRing, &msg, &param, &ev)) {
-//        TRACE("Received %s %lx\n", wodPlayerCmdString[msg - WM_USER - 1], param);
+        TRACE("Received %s %lx\n", wodPlayerCmdString[msg - WM_USER - 1], param);
 
 	switch (msg) {
 	case WINE_WM_PAUSING:
@@ -1229,7 +1229,9 @@
  */
 static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
 {
+#if 0
     int 	mixer;
+#endif
     int		volume;
     DWORD	left, right;
 
@@ -1248,6 +1250,8 @@
 	return MMSYSERR_NOTENABLED;
     }
     close(mixer);
+#else
+    volume = 0x2020;
 #endif
     left = LOBYTE(volume);
     right = HIBYTE(volume);
@@ -1261,7 +1265,9 @@
  */
 static DWORD wodSetVolume(WORD wDevID, DWORD dwParam)
 {
+#if 0
     int 	mixer;
+#endif
     int		volume;
     DWORD	left, right;
 

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux