diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-17 11:54:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 11:54:41 +1000 |
| commit | 0a7265f807dac4cca011120666f76b004b289451 (patch) | |
| tree | 0cc658a482d4dd993509a6578e3ac0d1223d4eda /Source/Core/AudioCommon/WASAPIStream.cpp | |
| parent | 181d79228ab811b711c0cc87c62988d222c389d7 (diff) | |
| parent | e67eb4693e7d8354a42db016e84b56af9308a476 (diff) | |
Merge pull request #8315 from CookiePLMonster/conformance-fixes
Conformance fixes
Diffstat (limited to 'Source/Core/AudioCommon/WASAPIStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/WASAPIStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/WASAPIStream.cpp b/Source/Core/AudioCommon/WASAPIStream.cpp index dd83ddb657..483a68f7af 100644 --- a/Source/Core/AudioCommon/WASAPIStream.cpp +++ b/Source/Core/AudioCommon/WASAPIStream.cpp @@ -152,7 +152,7 @@ IMMDevice* WASAPIStream::GetDeviceByName(std::string name) __uuidof(IMMDeviceEnumerator), reinterpret_cast<LPVOID*>(&enumerator)); if (!HandleWinAPI("Failed to create MMDeviceEnumerator", result)) - return false; + return nullptr; IMMDeviceCollection* devices; result = enumerator->EnumAudioEndpoints(eRender, DEVICE_STATE_ACTIVE, &devices); |
