From 3af2ff7b2582a5060215dcefbc70084650d2856f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Jul 2017 12:16:28 -0700 Subject: Trace if a driver was found for a device name --- router/alc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'router/alc.c') diff --git a/router/alc.c b/router/alc.c index fd9ae81b..9f94c869 100644 --- a/router/alc.c +++ b/router/alc.c @@ -316,10 +316,14 @@ static ALint GetDriverIndexForName(const EnumeratedList *list, const ALCchar *na while(devnames && *devnames) { if(strcmp(name, devnames) == 0) + { + TRACE("Found driver %d for name \"%s\"\n", *index, name); return *index; + } devnames += strlen(devnames)+1; index++; } + TRACE("Failed to find driver for name \"%s\"\n", name); return -1; } -- cgit v1.2.3