Fixed a few compilation warnings.
This commit is contained in:
parent
70d6e282c8
commit
e3bd1361f1
|
@ -693,7 +693,7 @@ static void wodPlayer_ProcessMessages(WINE_WAVEOUT* wwo)
|
||||||
HANDLE ev;
|
HANDLE ev;
|
||||||
|
|
||||||
while (ALSA_RetrieveRingMessage(&wwo->msgRing, &msg, ¶m, &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) {
|
switch (msg) {
|
||||||
case WINE_WM_PAUSING:
|
case WINE_WM_PAUSING:
|
||||||
|
@ -1229,7 +1229,9 @@ static DWORD wodBreakLoop(WORD wDevID)
|
||||||
*/
|
*/
|
||||||
static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
|
static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
int mixer;
|
int mixer;
|
||||||
|
#endif
|
||||||
int volume;
|
int volume;
|
||||||
DWORD left, right;
|
DWORD left, right;
|
||||||
|
|
||||||
|
@ -1248,6 +1250,8 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
|
||||||
return MMSYSERR_NOTENABLED;
|
return MMSYSERR_NOTENABLED;
|
||||||
}
|
}
|
||||||
close(mixer);
|
close(mixer);
|
||||||
|
#else
|
||||||
|
volume = 0x2020;
|
||||||
#endif
|
#endif
|
||||||
left = LOBYTE(volume);
|
left = LOBYTE(volume);
|
||||||
right = HIBYTE(volume);
|
right = HIBYTE(volume);
|
||||||
|
@ -1261,7 +1265,9 @@ static DWORD wodGetVolume(WORD wDevID, LPDWORD lpdwVol)
|
||||||
*/
|
*/
|
||||||
static DWORD wodSetVolume(WORD wDevID, DWORD dwParam)
|
static DWORD wodSetVolume(WORD wDevID, DWORD dwParam)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
int mixer;
|
int mixer;
|
||||||
|
#endif
|
||||||
int volume;
|
int volume;
|
||||||
DWORD left, right;
|
DWORD left, right;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue