Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2015-09-18 15:54:57 +0300
committerAlex Marsev <alex.marsev@gmail.com>2015-09-18 15:54:57 +0300
commit86dc4f4389c84e12459be33413268b58b9367a70 (patch)
treea537000d217acfd4820658656becffdf8585a364
parent1b66e34caa4832ecddbf758d0d10fc483353bf90 (diff)
Add debug assert
-rw-r--r--src/AudioDeviceManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AudioDeviceManager.cpp b/src/AudioDeviceManager.cpp
index e6384ce..727b8d1 100644
--- a/src/AudioDeviceManager.cpp
+++ b/src/AudioDeviceManager.cpp
@@ -42,6 +42,7 @@ namespace SaneAudioRenderer
PROPVARIANT prop;
PropVariantInit(&prop);
ThrowIfFailed(pStore->GetValue(key, &prop));
+ assert(prop.vt == VT_LPWSTR);
auto ret = std::make_shared<std::wstring>(prop.pwszVal);
PropVariantClear(&prop);