rename mp3.c to mp3_afh.c and ogg.c to ogg_afh.c
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index e3b0db55894dfb4705ed5c052594d6469fb6332d..41ef1e21b126968dd7d7fe9bdf8a11f964a28782 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -26,6 +26,7 @@
 #include <sys/time.h> /* gettimeofday */
 #include "server.cmdline.h"
 #include "db.h"
+#include "afh.h"
 #include "afs.h"
 #include "send.h"
 #include "error.h"
@@ -393,6 +394,10 @@ char *afs_get_header(int *header_len)
                return NULL;
        return afl[mmd->audio_format].get_header_info(header_len);
 }
+const char *supported_audio_formats(void)
+{
+       return SUPPORTED_AUDIO_FORMATS;
+}
 
 /**
  * get the chunk time of the current audio file