X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=c866b4388ab14ac7880e8bcdf4c9bb0a56cf3306;hp=1005139d8365165903ac01b8dac011017346c5c9;hb=e9e826f4fb415c4225ff5934fe42572ffa3b5ebc;hpb=226ce82aaccff7e74a6fadd028743b731a3744d2 diff --git a/afh_common.c b/afh_common.c index 1005139d..c866b438 100644 --- a/afh_common.c +++ b/afh_common.c @@ -236,6 +236,13 @@ void afh_get_chunk(long unsigned chunk_num, struct afh_info *afhi, *len = afhi->chunk_table[chunk_num + 1] - pos; } +/** + * Compute the size of the largest chunk of an audio file. + * + * \param afhi The audio format handler struct containing the chunk table. + * + * \return The number of bytes of the largest chunk. + */ uint32_t afh_get_largest_chunk_size(struct afh_info *afhi) { uint32_t n, largest = 0, *ct = afhi->chunk_table;