2008-05-18 19:17:49 +02:00
|
|
|
#include <audacious/util.h>
|
|
|
|
|
|
|
|
void vgmstream_init();
|
|
|
|
void vgmstream_about();
|
|
|
|
void vgmstream_configure();
|
|
|
|
void vgmstream_destroy();
|
|
|
|
gboolean vgmstream_is_our_file(gchar *pFile);
|
|
|
|
void vgmstream_play(InputPlayback *context);
|
|
|
|
void vgmstream_stop(InputPlayback *context);
|
|
|
|
void vgmstream_pause(InputPlayback *context,gshort paused);
|
|
|
|
void vgmstream_seek(InputPlayback *context,gint time);
|
|
|
|
int vgmstream_get_time(InputPlayback *context);
|
|
|
|
void vgmstream_get_song_info(gchar *pFile,gchar **title,gint *length);
|
|
|
|
void vgmstream_mseek(InputPlayback *context,gulong ms);
|
|
|
|
void vgmstream_file_info_box(gchar *pFile);
|
|
|
|
|
|
|
|
gchar *vgmstream_exts [] = {
|
|
|
|
"adx",
|
|
|
|
"afc",
|
|
|
|
"agsc",
|
|
|
|
"ast",
|
|
|
|
"brstm",
|
2008-05-27 04:34:21 +02:00
|
|
|
"brstmspm",
|
2008-05-18 19:17:49 +02:00
|
|
|
"hps",
|
|
|
|
"strm",
|
|
|
|
"adp",
|
|
|
|
"rsf",
|
|
|
|
"dsp",
|
|
|
|
"gcw",
|
|
|
|
"ads",
|
|
|
|
"ss2",
|
|
|
|
"npsf",
|
|
|
|
"rwsd",
|
|
|
|
"xa",
|
|
|
|
"rxw",
|
|
|
|
"int",
|
|
|
|
"sts",
|
|
|
|
"svag",
|
|
|
|
"mib",
|
|
|
|
"mi4",
|
|
|
|
"mpdsp",
|
|
|
|
"mic",
|
|
|
|
"gcm",
|
|
|
|
"mss",
|
|
|
|
"raw",
|
|
|
|
"vag",
|
2008-05-19 18:30:30 +02:00
|
|
|
"gms",
|
2008-05-27 04:34:21 +02:00
|
|
|
"str",
|
|
|
|
"ild",
|
|
|
|
"pnb",
|
|
|
|
"wavm",
|
|
|
|
"xwav",
|
|
|
|
"wp2",
|
2008-06-08 05:24:31 +02:00
|
|
|
"sng",
|
|
|
|
"asf",
|
|
|
|
"eam",
|
|
|
|
"cfn",
|
|
|
|
"vpk",
|
2008-06-09 02:26:13 +02:00
|
|
|
"genh",
|
2008-06-15 06:11:36 +02:00
|
|
|
"logg",
|
2008-06-16 08:06:11 +02:00
|
|
|
"sad",
|
2008-06-25 18:48:03 +02:00
|
|
|
"bmdx",
|
2008-06-29 03:30:13 +02:00
|
|
|
"wsi",
|
2008-07-01 05:23:44 +02:00
|
|
|
"aifc",
|
2008-07-03 04:20:52 +02:00
|
|
|
"aud",
|
2008-07-05 13:49:29 +02:00
|
|
|
"ahx",
|
2008-07-06 10:59:14 +02:00
|
|
|
"ivb",
|
2008-07-06 14:23:37 +02:00
|
|
|
"amts",
|
|
|
|
"svs",
|
2008-07-06 20:05:04 +02:00
|
|
|
"pos",
|
2008-07-11 08:40:20 +02:00
|
|
|
"nwa",
|
2008-07-12 17:20:39 +02:00
|
|
|
"xss",
|
|
|
|
"sl3",
|
|
|
|
"hgc1",
|
|
|
|
"aus",
|
|
|
|
"rws",
|
2008-07-14 14:11:20 +02:00
|
|
|
"rsd",
|
|
|
|
"fsb",
|
2008-07-14 15:37:34 +02:00
|
|
|
"rwx",
|
|
|
|
"xwb",
|
2008-07-15 15:35:00 +02:00
|
|
|
"xa30",
|
2008-07-16 05:21:37 +02:00
|
|
|
"musc",
|
2008-07-17 03:47:08 +02:00
|
|
|
"leg",
|
|
|
|
"filp",
|
|
|
|
"ikm",
|
|
|
|
"musx",
|
2008-07-18 22:12:52 +02:00
|
|
|
"dvi",
|
|
|
|
"bg00",
|
2008-07-18 22:39:34 +02:00
|
|
|
"kcey",
|
2008-07-19 18:23:27 +02:00
|
|
|
"rstm",
|
2008-07-20 09:28:17 +02:00
|
|
|
"acm",
|
2008-07-21 01:28:16 +02:00
|
|
|
"mus",
|
2008-07-21 07:50:28 +02:00
|
|
|
"sli",
|
2008-07-21 23:41:11 +02:00
|
|
|
"lwav",
|
2008-07-22 02:37:06 +02:00
|
|
|
"vig",
|
2008-07-22 04:18:32 +02:00
|
|
|
"sfl",
|
2008-07-24 23:49:27 +02:00
|
|
|
"um3",
|
2008-08-01 05:27:20 +02:00
|
|
|
"pcm",
|
|
|
|
"rkv",
|
|
|
|
"psw",
|
|
|
|
"vas",
|
|
|
|
"tec",
|
|
|
|
"enth",
|
|
|
|
"sdt",
|
2008-08-02 12:24:28 +02:00
|
|
|
"aix",
|
2008-08-10 06:39:55 +02:00
|
|
|
"tydsp",
|
|
|
|
"sfs",
|
|
|
|
"as4",
|
|
|
|
"swd",
|
|
|
|
"cnk",
|
2008-08-11 03:11:32 +02:00
|
|
|
"vjdsp",
|
|
|
|
"wvs",
|
|
|
|
"stma",
|
|
|
|
"matx",
|
2008-08-11 10:10:59 +02:00
|
|
|
"de2",
|
2008-08-18 22:27:14 +02:00
|
|
|
"xmu",
|
2008-08-19 16:14:06 +02:00
|
|
|
"xvas",
|
|
|
|
"bh2pcm",
|
|
|
|
"sap",
|
2008-08-21 22:17:30 +02:00
|
|
|
"rnd",
|
2008-09-14 02:58:17 +02:00
|
|
|
"idvi",
|
|
|
|
"omu",
|
|
|
|
"xa2",
|
2008-09-21 00:16:57 +02:00
|
|
|
"kraw",
|
2008-11-02 22:35:11 +01:00
|
|
|
"idsp",
|
|
|
|
"xsf",
|
|
|
|
"ymf",
|
|
|
|
"ccc",
|
|
|
|
"fag",
|
|
|
|
"mihb",
|
|
|
|
"pdt",
|
|
|
|
"asd",
|
|
|
|
"spsd",
|
2008-11-07 00:30:33 +01:00
|
|
|
"bgw",
|
2008-11-07 02:47:39 +01:00
|
|
|
"spw",
|
2008-11-23 13:43:41 +01:00
|
|
|
"ass",
|
|
|
|
"waa",
|
|
|
|
"wac",
|
|
|
|
"wad",
|
|
|
|
"wam",
|
|
|
|
"seg",
|
|
|
|
"asr",
|
|
|
|
"zwdsp",
|
2008-12-12 00:32:47 +01:00
|
|
|
"gca",
|
|
|
|
"spd",
|
|
|
|
"isd",
|
|
|
|
"ydsp",
|
|
|
|
"gsb",
|
|
|
|
"msvp",
|
|
|
|
"ssm",
|
|
|
|
"joe",
|
|
|
|
"vgs",
|
|
|
|
"vs",
|
|
|
|
"dcs",
|
|
|
|
"smp",
|
|
|
|
"emff",
|
|
|
|
"thp",
|
2008-12-20 23:57:54 +01:00
|
|
|
"rwar",
|
2009-01-03 12:08:44 +01:00
|
|
|
"aax",
|
2009-01-04 16:36:06 +01:00
|
|
|
"mwv",
|
2009-01-05 23:07:39 +01:00
|
|
|
"gbts",
|
|
|
|
"p2bt",
|
2009-01-20 02:03:33 +01:00
|
|
|
"rwav",
|
2009-01-28 16:07:59 +01:00
|
|
|
"baka",
|
2009-02-08 09:36:33 +01:00
|
|
|
"vsf",
|
2009-03-05 15:26:59 +01:00
|
|
|
"swav",
|
|
|
|
"rrds",
|
2009-03-05 20:59:58 +01:00
|
|
|
"tk5",
|
2008-05-18 19:17:49 +02:00
|
|
|
/* terminator */
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
InputPlugin vgmstream_iplug = {
|
|
|
|
.description = "VGMStream Decoder",
|
|
|
|
.init = vgmstream_init,
|
|
|
|
.about = vgmstream_about,
|
|
|
|
.configure = vgmstream_configure,
|
|
|
|
.cleanup = vgmstream_destroy,
|
|
|
|
.is_our_file = vgmstream_is_our_file,
|
|
|
|
.play_file = vgmstream_play,
|
|
|
|
.stop = vgmstream_stop,
|
|
|
|
.pause = vgmstream_pause,
|
|
|
|
.seek = vgmstream_seek,
|
|
|
|
.get_time = vgmstream_get_time,
|
|
|
|
.get_song_info = vgmstream_get_song_info,
|
|
|
|
.vfs_extensions = vgmstream_exts,
|
|
|
|
.mseek = vgmstream_mseek,
|
|
|
|
.file_info_box = vgmstream_file_info_box,
|
|
|
|
};
|
|
|
|
|
|
|
|
|