changeset 368:c812e846b84e trunk

[svn] - add support for extension probing to many plugins.
author nenolod
date Tue, 12 Dec 2006 18:54:01 -0800
parents 1dcf9f67b066
children 28e613b54cb2
files ChangeLog src/aac/src/libmp4.c src/flac112/plugin.c src/flac113/plugin.c src/mpg123/mpg123.c src/musepack/libmpc.cxx src/paranormal/Makefile src/sexypsf/xmms.c src/tta/aud-tta.c src/vorbis/vorbis.c src/wav/wav.c src/wavpack/libwavpack.cxx src/wma/wma.c
diffstat 13 files changed, 30 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Dec 11 23:40:19 2006 -0800
+++ b/ChangeLog	Tue Dec 12 18:54:01 2006 -0800
@@ -1,3 +1,11 @@
+2006-12-12 07:40:19 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [804]
+  - improve dyntrans some more
+  
+  trunk/src/paranormal/xform.c |   21 +++++++++++++++------
+  1 file changed, 15 insertions(+), 6 deletions(-)
+
+
 2006-12-12 06:56:12 +0000  William Pitcock <nenolod@nenolod.net>
   revision [802]
   - speed up dyntrans a little
--- a/src/aac/src/libmp4.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/aac/src/libmp4.c	Tue Dec 12 18:54:01 2006 -0800
@@ -74,6 +74,7 @@
     0,
     0,
     mp4_IsOurFD,
+    { "m4a", "mp4", "aac", NULL };
   };
 
 typedef struct  _mp4cfg{
--- a/src/flac112/plugin.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/flac112/plugin.c	Tue Dec 12 18:54:01 2006 -0800
@@ -159,6 +159,9 @@
 	FLAC_XMMS__file_info_box,
 	NULL,
 	flac_get_tuple
+        NULL,
+        NULL,
+        { "flac", NULL },
 };
 
 #define SAMPLES_PER_WRITE 512
--- a/src/flac113/plugin.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/flac113/plugin.c	Tue Dec 12 18:54:01 2006 -0800
@@ -124,6 +124,9 @@
 	FLAC_XMMS__file_info_box,
 	NULL,
 	flac_get_tuple
+        NULL,
+        NULL,
+        { "flac", NULL },
 };
 
 #define SAMPLES_PER_WRITE 512
--- a/src/mpg123/mpg123.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/mpg123/mpg123.c	Tue Dec 12 18:54:01 2006 -0800
@@ -989,6 +989,7 @@
     NULL,
     NULL,
     is_our_fd,
+    { "mp3", "mp2", "mpa", "mpg", NULL },
 };
 
 InputPlugin *
--- a/src/musepack/libmpc.cxx	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/musepack/libmpc.cxx	Tue Dec 12 18:54:01 2006 -0800
@@ -37,6 +37,7 @@
     NULL,
     NULL,
     mpcIsOurFD,
+    { "mpc", NULL },
 };
 
 extern "C"
--- a/src/paranormal/Makefile	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/paranormal/Makefile	Tue Dec 12 18:54:01 2006 -0800
@@ -28,6 +28,6 @@
 
 OBJECTS = ${SOURCES:.c=.o}
 
-CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../..
+CFLAGS += $(PICFLAGS) $(GTK_CFLAGS) $(ARCH_DEFINES) $(XML_CPPFLAGS) $(SDL_CFLAGS) -I../../intl -I../.. -Wall
 
 include ../../mk/objective.mk
--- a/src/sexypsf/xmms.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/sexypsf/xmms.c	Tue Dec 12 18:54:01 2006 -0800
@@ -284,4 +284,5 @@
 	NULL,
 	NULL,
 	is_our_fd,
+        { "psf", "minipsf", NULL },
 };
--- a/src/tta/aud-tta.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/tta/aud-tta.c	Tue Dec 12 18:54:01 2006 -0800
@@ -103,7 +103,8 @@
     NULL,
     get_song_tuple, // get_song_tuple
     NULL, // set_song_tuple
-    NULL  // buffer
+    NULL, // buffer
+    { "tta", NULL },
 };
 
 InputPlugin *
--- a/src/vorbis/vorbis.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/vorbis/vorbis.c	Tue Dec 12 18:54:01 2006 -0800
@@ -114,6 +114,9 @@
     vorbis_file_info_box,       /* file info box, tag editing */
     NULL,
     get_song_tuple
+    NULL,
+    NULL,
+    { "ogg", "ogm", NULL },
 };
 
 static OggVorbis_File vf;
--- a/src/wav/wav.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/wav/wav.c	Tue Dec 12 18:54:01 2006 -0800
@@ -54,7 +54,8 @@
     NULL,
     get_song_info,
     NULL,                       /* file_info_box */
-    NULL
+    NULL,
+    { "wav", "raw", "pcm", NULL },
 };
 
 WaveFile *wav_file = NULL;
--- a/src/wavpack/libwavpack.cxx	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/wavpack/libwavpack.cxx	Tue Dec 12 18:54:01 2006 -0800
@@ -85,6 +85,7 @@
     NULL,
     NULL,
     wv_is_our_fd,
+    { "wv", NULL },
 };
 
 int32_t read_bytes (void *id, void *data, int32_t bcount)
--- a/src/wma/wma.c	Mon Dec 11 23:40:19 2006 -0800
+++ b/src/wma/wma.c	Tue Dec 12 18:54:01 2006 -0800
@@ -117,6 +117,9 @@
     NULL,               // Bring up an info window for the filename passed in
     NULL,           	// Handle to the current output plugin. Filled in by xmms
     wma_get_song_tuple, // Tuple builder
+    NULL,
+    NULL,
+    { "wma", NULL },
 };
 
 InputPlugin *get_iplugin_info(void)