aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-12-04 13:46:51 -0800
committerChris Robinson <[email protected]>2012-12-04 13:46:51 -0800
commite51574c7645ac8a44c52bf71a0de922a91358cd7 (patch)
treecc50ea1db5ba718868bdeba6ce73a01b8656d2f1
parent893a1bedbc0048e159e4471ac21f03cfee3a72ea (diff)
Trace the list of supported backends
-rw-r--r--Alc/ALc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 33580dad..fd5b8894 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -802,6 +802,13 @@ static void alc_initconfig(void)
else ERR("Failed to open log file '%s'\n", str);
}
+ {
+ char buf[1024] = "";
+ int len = snprintf(buf, sizeof(buf), "%s", BackendList[0].name);
+ for(i = 1;BackendList[i].name;i++)
+ len += snprintf(buf+len, sizeof(buf)-len, ", %s", BackendList[i].name);
+ TRACE("Supported backends: %s\n", buf);
+ }
ReadALConfig();
capfilter = 0;