summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/WASAPIStream.cpp
diff options
context:
space:
mode:
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 afd5531ae8..9cbf915e82 100644
--- a/Source/Core/AudioCommon/WASAPIStream.cpp
+++ b/Source/Core/AudioCommon/WASAPIStream.cpp
@@ -176,7 +176,7 @@ bool WASAPIStream::SetRunning(bool running)
HRESULT result;
- if (Config::Get(Config::MAIN_WASAPI_DEVICE) == "default")
+ if (Config::IsDefaultValue(Config::MAIN_WASAPI_DEVICE))
{
result = m_enumerator->GetDefaultAudioEndpoint(eRender, eConsole, &device);
}