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-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,
|
|
|
|
};
|
|
|
|
|
|
|
|
|