aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/mmdevapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index f27f5c45..46e779c5 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -191,7 +191,10 @@ static void add_device(IMMDevice *device, DevMap *devmap)
WARN("GetValue failed: 0x%08lx\n", hr);
}
if(SUCCEEDED(hr))
+ {
+ TRACE("Got device \"%ls\", GUID \"%ls\"\n", pvname.pwszVal, pvguid.pwszVal);
hr = CLSIDFromString(pvguid.pwszVal, &devmap->guid);
+ }
if(SUCCEEDED(hr))
{
if((len=WideCharToMultiByte(CP_ACP, 0, pvname.pwszVal, -1, NULL, 0, NULL, NULL)) > 0)