Ken Thomases : winecoreaudio: Improved tracing.

Alexandre Julliard julliard at winehq.org
Fri Oct 21 11:01:59 CDT 2011


Module: wine
Branch: master
Commit: 7eadf7bb9f2c9b139b483589625ec178be54fa3b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7eadf7bb9f2c9b139b483589625ec178be54fa3b

Author: Ken Thomases <ken at codeweavers.com>
Date:   Thu Oct 20 23:24:43 2011 -0500

winecoreaudio: Improved tracing.

---

 dlls/winecoreaudio.drv/mmdevdrv.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c
index 6842b7e..c45a8c6 100644
--- a/dlls/winecoreaudio.drv/mmdevdrv.c
+++ b/dlls/winecoreaudio.drv/mmdevdrv.c
@@ -417,6 +417,9 @@ HRESULT WINAPI AUDDRV_GetEndpointIDs(EDataFlow flow, WCHAR ***ids,
         if(*def_index == (UINT)-1 && devices[i] == default_id)
             *def_index = *num;
 
+        TRACE("device %u: id %s key %u%s\n", *num, debugstr_w((*ids)[*num]),
+              (unsigned int)*(*keys)[*num], (*def_index == *num) ? " (default)" : "");
+
         (*num)++;
     }
 
@@ -433,7 +436,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(AudioDeviceID *adevid, IMMDevice *dev,
 {
     ACImpl *This;
 
-    TRACE("%p %d %p\n", dev, dataflow, out);
+    TRACE("%u %p %d %p\n", (unsigned int)*adevid, dev, dataflow, out);
 
     This = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(ACImpl));
     if(!This)




More information about the wine-cvs mailing list