summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/WASAPIStream.cpp
diff options
context:
space:
mode:
authorQuellaZhang <>2019-08-15 17:49:57 +0200
committerSilent <zdanio95@gmail.com>2019-08-15 17:49:57 +0200
commite67eb4693e7d8354a42db016e84b56af9308a476 (patch)
tree0cc658a482d4dd993509a6578e3ac0d1223d4eda /Source/Core/AudioCommon/WASAPIStream.cpp
parenta35f540e7a8ffbf26c10b22660f1c2d0821f7228 (diff)
Fix implicit false-to-nullptr conversions
Diffstat (limited to 'Source/Core/AudioCommon/WASAPIStream.cpp')
-rw-r--r--Source/Core/AudioCommon/WASAPIStream.cpp2
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);