changeset 2559:a3fecbacf65d

Add fmts gchar array of supported extensions.
author Tony Vroon <chainsaw@gentoo.org>
date Sun, 11 May 2008 22:29:30 +0100
parents fb2856249629
children 38f3540d6b06
files src/adplug/adplug-xmms.cc
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/adplug/adplug-xmms.cc	Sat May 10 13:41:06 2008 +0900
+++ b/src/adplug/adplug-xmms.cc	Sun May 11 22:29:30 2008 +0100
@@ -1125,6 +1125,13 @@
 
 /***** Plugin (exported) *****/
 
+const gchar *fmts[] =
+    { "a2m", "adl", "amd", "bam", "cff", "cmf", "d00", "dfm", "dmo", "dro",
+      "dtm", "hsc", "hsp", "ins", "jbm", "ksm", "laa", "lds", "m", "mad",
+      "mkj", "msc", "rad", "raw", "rix", "rol", "s3m", "sa2", "sat", "sci",
+      "sng", "wlf", "xad", "xsm",
+      NULL };
+
 InputPlugin adplug_ip = {
   NULL,                         // handle (filled by XMMS)
   NULL,                         // filename (filled by XMMS)
@@ -1155,7 +1162,7 @@
   NULL,
   NULL,
   adplug_is_our_fd,
-  NULL,
+  (gchar **)fmts,
 };
 
 InputPlugin *adplug_iplist[] = { &adplug_ip, NULL };