Permalink
Browse files

Merge pull request #1647 from Karlson2k/SoftAE-fix-04

[SoftAE] Fix WASAPI sink initialization to default device
  • Loading branch information...
2 parents a78db70 + f972b58 commit 440108cd64adfda7d489a13058ba147dae541290 @DDDamian DDDamian committed Oct 19, 2012
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 440108c

Please sign in to comment.