changeset 2290:0f8450380020

enable some more file formats (aiff, au and raw)
author mf0102 <0102@gmx.at>
date Thu, 10 Jan 2008 18:33:59 +0100
parents 515f9c741a5c
children 1457b35713d9
files src/wav/wav-sndfile.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/wav/wav-sndfile.c	Thu Jan 10 14:47:44 2008 +0100
+++ b/src/wav/wav-sndfile.c	Thu Jan 10 18:33:59 2008 +0100
@@ -505,6 +505,10 @@
     return ti;
 }
 
+/*static int is_our_file_from_vfs(char *filename, VFSFile *fin)
+{
+}*/
+
 static void wav_about(void)
 {
     static GtkWidget *box;
@@ -533,7 +537,7 @@
     }
 }
 
-static gchar *fmts[] = { "wav", NULL };
+static gchar *fmts[] = { "aiff", "au", "raw", "wav", NULL };
 
 InputPlugin wav_ip = {
     .description = "sndfile WAV plugin",
@@ -547,6 +551,7 @@
     .cleanup = plugin_cleanup,
     .get_song_info = get_song_info,
     .get_song_tuple = get_song_tuple,
+    //.is_our_file_from_vfs = is_our_file_from_vfs,
     .vfs_extensions = fmts,
     .mseek = file_mseek,
 };