diff options
author | Chris Robinson <[email protected]> | 2017-07-05 12:16:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-07-05 12:16:28 -0700 |
commit | 3af2ff7b2582a5060215dcefbc70084650d2856f (patch) | |
tree | c270b9cd1fbfec4209f047a7261e9c04433d76a6 /router | |
parent | 72ce0d1e9cb5474361fb7d2b2d87172bc89ffdc5 (diff) |
Trace if a driver was found for a device name
Diffstat (limited to 'router')
-rw-r--r-- | router/alc.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |