From e3bd1361f10d5dcc9131c8c4e406a6da4f742d5f Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 8 Jul 2002 19:34:49 +0000 Subject: [PATCH] Fixed a few compilation warnings. --- dlls/winmm/winealsa/audio_05.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/winmm/winealsa/audio_05.c b/dlls/winmm/winealsa/audio_05.c index 65fdeb8ee02..6668067c42b 100644 --- a/dlls/winmm/winealsa/audio_05.c +++ b/dlls/winmm/winealsa/audio_05.c @@ -693,7 +693,7 @@ static void wodPlayer_ProcessMessages(WINE_WAVEOUT* wwo) HANDLE ev; while (ALSA_RetrieveRingMessage(&wwo->msgRing, &msg, ¶m, &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 wodBreakLoop(WORD wDevID) */ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol) { +#if 0 int mixer; +#endif int volume; DWORD left, right; @@ -1248,6 +1250,8 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol) return MMSYSERR_NOTENABLED; } close(mixer); +#else + volume = 0x2020; #endif left = LOBYTE(volume); right = HIBYTE(volume); @@ -1261,7 +1265,9 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol) */ static DWORD wodSetVolume(WORD wDevID, DWORD dwParam) { +#if 0 int mixer; +#endif int volume; DWORD left, right;