Mercurial > audlegacy-plugins
changeset 2286:4f84615468b7
Add .vfs_extensions to the timidity plugin. (Bugzilla #79)
author | Jack Kelly <weldingmaskman@hotmail.com> |
---|---|
date | Wed, 09 Jan 2008 09:24:30 -0600 |
parents | 72f340bb5ea3 |
children | 2421c87fb855 |
files | src/timidity/xmms-timidity.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/timidity/xmms-timidity.c Wed Jan 09 15:41:59 2008 +0100 +++ b/src/timidity/xmms-timidity.c Wed Jan 09 09:24:30 2008 -0600 @@ -33,6 +33,8 @@ #include "xmms-timidity.h" #include "interface.h" +static gchar *midi_exts[] = { "mid", "midi", "rmi", NULL }; + InputPlugin xmmstimid_ip = { .description = "TiMidity Audio Plugin", .init = xmmstimid_init, @@ -46,6 +48,7 @@ .cleanup = xmmstimid_cleanup, .get_song_info = xmmstimid_get_song_info, .is_our_file_from_vfs = xmmstimid_is_our_fd, + .vfs_extensions = midi_exts, }; InputPlugin *timidity_iplist[] = { &xmmstimid_ip, NULL };