X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fwdmaud.drv%2Fwdmaud.c;h=9b06369f4774cacaae94b2e84fa93450a8778d2a;hp=a4a0f7458d290023350e5413efaf264ef8f7582b;hb=0cb3d8ff11deb22581a1f827687dc8ff6d1a74da;hpb=c17e7adfbdc1651fb963bc2c5d49e7436d1e2db0 diff --git a/reactos/dll/win32/wdmaud.drv/wdmaud.c b/reactos/dll/win32/wdmaud.drv/wdmaud.c index a4a0f7458d2..9b06369f477 100644 --- a/reactos/dll/win32/wdmaud.drv/wdmaud.c +++ b/reactos/dll/win32/wdmaud.drv/wdmaud.c @@ -125,6 +125,19 @@ GetWdmDeviceCapabilities( /* This is pretty much a big hack right now */ switch ( DeviceType ) { + case MIXER_DEVICE_TYPE: + { + LPMIXERCAPS MixerCaps = (LPMIXERCAPS) Capabilities; + + CopyWideString(MixerCaps->szPname, DeviceInfo.u.WaveOutCaps.szPname); + + MixerCaps->cDestinations = DeviceInfo.u.MixCaps.cDestinations; + MixerCaps->fdwSupport = DeviceInfo.u.MixCaps.fdwSupport; + MixerCaps->vDriverVersion = DeviceInfo.u.MixCaps.vDriverVersion; + MixerCaps->wMid = DeviceInfo.u.MixCaps.wMid; + MixerCaps->wPid = DeviceInfo.u.MixCaps.wPid; + break; + } case WAVE_OUT_DEVICE_TYPE : { LPWAVEOUTCAPS WaveOutCaps = (LPWAVEOUTCAPS) Capabilities;