Skip to content
Browse files

[SoftAE] Fix WASAPI sink initialization to default device

  • Loading branch information...
1 parent 3d6cc48 commit f972b58ac6a29873064b3ba535971d1e4109e9c0 @Karlson2k Karlson2k committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp
View
2 xbmc/cores/AudioEngine/Sinks/AESinkWASAPI.cpp
@@ -270,7 +270,7 @@ bool CAESinkWASAPI::Initialize(AEAudioFormat &format, std::string &device)
hr = pProperty->GetValue(PKEY_AudioEndpoint_GUID, &varName);
- std::string strDevName = localWideToUtf(varName.pwszVal);
+ device = localWideToUtf(varName.pwszVal);
PropVariantClear(&varName);
SAFE_RELEASE(pProperty);
}

0 comments on commit f972b58

Please sign in to comment.
Something went wrong with that request. Please try again.