diff options
author | Chris Robinson <[email protected]> | 2012-02-26 21:59:27 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-26 21:59:27 -0800 |
commit | da4408835d5ee10dce7e12bb36aeb045225b8d07 (patch) | |
tree | f1ad41025d6a3d7d9d4b7ff19227d641062bc862 /Alc/backends | |
parent | b78b8f0c828a6f9cf3b7e8a387291d902e9d11f4 (diff) |
Print the mmdevapi device and GUID found
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/mmdevapi.c | 3 |
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) |