#define XSFDRIVER_VERSIONS "0.23.14"
#define XSFDRIVER_MODULENAME "vio2sf.bin"
#define XSFDRIVER_MODULENAME2 "vio2sf_old.bin"
#define XSFDRIVER_ENTRYNAME "XSFSetup"
#define XSFDRIVER_ISSYSTEMTAG(taglen, tag) (((taglen) > 0) && ((tag)[0] == '_') && !(((taglen) > 8) && _strnicmp(tag, "_vio2sf_", 8)))
#define XSFDRIVER_GUID1 { 0xbef5e79d, 0x4e8a, 0x4840, { 0x9d, 0x41, 0xa3, 0xd6, 0x32, 0x17, 0x24, 0x93 } }
#define XSFDRIVER_GUID2 { 0x5ae3d5fd, 0x0f4b, 0x4ca8, { 0xa9, 0x87, 0xca, 0x60, 0xc0, 0x97, 0x8b, 0x6a } } /* {5AE3D5FD-0F4B-4ca8-A987-CA60C0978B6A} */
#define XSFDRIVER_CHANNELMAP { { 16, "SPU %2d" } , { 0, 0 } }
#define XSFDRIVER_SIMPLENAME "2SF Decoder"

#define DESMUME_VERSIONS "0.9.9"
#define DESMUME_COPYRIGHT "Copyright (C) 2006 yopyop\nCopyright (C) 2006-2013 DeSmuME team\n"

#define ADDITIONAL_LIBRARY_COPYRIGHT \
"in_2sf\n" \
"  by Naram Qashat (CyberBotX) [cyberbotx@cyberbotx.com]\n" \
"\n" \
"libloadpe\n" \
"  (c) Copyright 2007 Ku-Zu\n"

#define WINAMPPLUGIN_COPYRIGHT "DeSmuME\n" DESMUME_COPYRIGHT "\n" ADDITIONAL_LIBRARY_COPYRIGHT
#define WINAMPPLUGIN_NAME "2SF Decorder " XSFDRIVER_VERSIONS " / DeSmuME v" DESMUME_VERSIONS " (x86)"
#define WINAMPPLUGIN_EXTS "2SF;MINI2SF\0Double Screen Sound Format files(*.2SF;*.MINI2SF)\0\0\0"
#define WINAMPPLUGIN_TAG_XSFBY "2sfby"

#define KBMEDIAPLUGIN_VERSION 22
#define KBMEDIAPLUGIN_COPYRIGHT "DeSmuME\n" DESMUME_COPYRIGHT "\n" ADDITIONAL_LIBRARY_COPYRIGHT
#define KBMEDIAPLUGIN_NAME "2SF plugin " XSFDRIVER_VERSIONS " / DeSmuME v" DESMUME_VERSIONS
#define KBMEDIAPLUGIN_EXTS(n)	\
	static const char n##_2sfext[] = ".2sf";	\
	static const char n##_mini2sfext[] = ".mini2sf";	\
	static const char * const (n) [] = {	\
		n##_2sfext,	\
		n##_mini2sfext,	\
		0,	\
	};

#define FOOBAR2000COMPONENT_NAME "2SF decoder / DeSmuME v" DESMUME_VERSIONS
#define FOOBAR2000COMPONENT_VERSION XSFDRIVER_VERSIONS
#define FOOBAR2000COMPONENT_ABOUT "DeSmuME v" DESMUME_VERSIONS "\n" DESMUME_COPYRIGHT "\n" ADDITIONAL_LIBRARY_COPYRIGHT
#define FOOBAR2000COMPONENT_TYPE "Double Screen Sound Format files"
#define FOOBAR2000COMPONENT_EXTS "*.2SF;*.MINI2SF"
#define FOOBAR2000COMPONENT_EXT_CHECK (!stricmp_utf8(p_extension,"2SF") || !stricmp_utf8(p_extension,"MINI2SF"))
#define FOOBAR2000COMPONENT_ENCODING "synthesized"
#define FOOBAR2000COMPONENT_CODEC "2SF"
#define FOOBAR2000COMPONENT_DECODER_LONGNAME XSFDRIVER_SIMPLENAME
#define FOOBAR2000COMPONENT_DECODER_PRIORITY_TABLE_GUID { 0x769bc9ae, 0xfd4f, 0x486b, { 0xa5, 0xb8, 0xc6, 0x44, 0x2c, 0x80, 0x5d, 0xa3 } }

