]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh.h
server.cmd: Cosmetics.
[paraslash.git] / afh.h
diff --git a/afh.h b/afh.h
index b4de774ad4f74de087d3d65cb78cf8a890ebef9f..9ad078582e156be166b7c06dc35100549a26f337 100644 (file)
--- a/afh.h
+++ b/afh.h
@@ -41,7 +41,7 @@ struct audio_format_info {
         * The table that specifies the offset of the individual pieces in
         * the current audio file.
         */
-       size_t *chunk_table;
+       uint32_t *chunk_table;
        /** Period of time between sending data chunks. */
        struct timeval chunk_tv;
        /** End of file timeout - Do not load new audio file until this time. */
@@ -101,3 +101,8 @@ struct audio_format_handler {
                struct audio_format_info *afi);
 };
 
+void afh_init(void);
+int guess_audio_format(const char *name);
+int compute_afhi(const char *path, char *data, size_t size,
+       struct audio_format_info *afhi);
+const char *audio_format_name(int);