mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
mmdevapi: Don't check for IID_IDirectSoundCapture8, it is just a define (PVS-Studio).
This commit is contained in:
parent
278b70bdd0
commit
a514fe7642
1 changed files with 1 additions and 2 deletions
|
@ -645,8 +645,7 @@ static HRESULT WINAPI MMDevice_Activate(IMMDevice *iface, REFIID riid, DWORD cls
|
|||
IDirectSound_Release((IDirectSound*)*ppv);
|
||||
}
|
||||
}
|
||||
else if (IsEqualIID(riid, &IID_IDirectSoundCapture)
|
||||
|| IsEqualIID(riid, &IID_IDirectSoundCapture8))
|
||||
else if (IsEqualIID(riid, &IID_IDirectSoundCapture))
|
||||
{
|
||||
if (This->flow == eCapture)
|
||||
hr = CoCreateInstance(&CLSID_DirectSoundCapture8, NULL, clsctx, riid, ppv);
|
||||
|
|
Loading…
Reference in a new issue