mciwave: MCI Capability returns number of wave devices.

This commit is contained in:
Jörg Höhle 2009-11-21 11:04:09 +01:00 committed by Alexandre Julliard
parent c72a7d471a
commit 95970bb531

View File

@ -1609,10 +1609,10 @@ static DWORD WAVE_mciGetDevCaps(MCIDEVICEID wDevID, DWORD dwFlags,
ret = MCI_RESOURCE_RETURNED;
break;
case MCI_WAVE_GETDEVCAPS_INPUTS:
lpParms->dwReturn = 1;
lpParms->dwReturn = waveInGetNumDevs();
break;
case MCI_WAVE_GETDEVCAPS_OUTPUTS:
lpParms->dwReturn = 1;
lpParms->dwReturn = waveOutGetNumDevs();
break;
default:
FIXME("Unknown capability (%08x) !\n", lpParms->dwItem);