# HG changeset patch # User Tony Vroon # Date 1210541370 -3600 # Node ID a3fecbacf65d87b57880881007e6571078c5ba45 # Parent fb28562496291f6cb4f5865a9779b31dbee36bfb Add fmts gchar array of supported extensions. diff -r fb2856249629 -r a3fecbacf65d src/adplug/adplug-xmms.cc --- 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 };