mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
C89_BUILD fix
This commit is contained in:
parent
c4d8a8c800
commit
2a5bda2b14
@ -336,8 +336,9 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
|
||||
|
||||
if (hr == AUDCLNT_E_ALREADY_INITIALIZED)
|
||||
{
|
||||
HRESULT hr;
|
||||
WASAPI_RELEASE(client);
|
||||
HRESULT hr = _IMMDevice_Activate(device,
|
||||
hr = _IMMDevice_Activate(device,
|
||||
IID_IAudioClient,
|
||||
CLSCTX_ALL, NULL, (void**)&client);
|
||||
WASAPI_HR_CHECK(hr, "IMMDevice::Activate", return NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user