X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;h=a6f9c50073bd39563d05a76f38c5377b10451b16;hp=62e38c02af85a946c74533115b8f826be337781a;hb=7eaf2faf618705c97c77750371e177108aaa5897;hpb=486314426fcd25e5271fd65a982f8b321585e195 diff --git a/afh.h b/afh.h index 62e38c02..a6f9c500 100644 --- a/afh.h +++ b/afh.h @@ -28,17 +28,17 @@ struct taginfo { /** Audio format dependent information. */ struct afh_info { /** The number of chunks this audio file contains. */ - long unsigned chunks_total; + uint32_t chunks_total; /** The length of the audio file in seconds. */ - long unsigned seconds_total; + uint32_t seconds_total; /** Audio handler specific info about the file. */ char *techinfo; /** Id3 tags, vorbis comments, aac tags. */ struct taginfo tags; /** - * The table that specifies the offset of the individual pieces in - * the current audio file. - */ + * The table that specifies the offset of the individual pieces in + * the current audio file. + */ uint32_t *chunk_table; /** Period of time between sending data chunks. */ struct timeval chunk_tv; @@ -48,7 +48,7 @@ struct afh_info { * which means that this audio format does not need any special header * treatment. The audio format handler does not need to set this to * zero in this case. - */ + */ uint32_t header_len; /** The number of channels. */ uint8_t channels; @@ -88,7 +88,7 @@ struct audio_format_handler { */ void (*init)(struct audio_format_handler*); /** Typical file endings for files that can be handled by this afh. */ - const char **suffixes; + const char * const *suffixes; /** * Check if this audio format handler can handle the file. *