-/**
- * 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;
-
- for (n = 1; n <= afhi->chunks_total; n++)
- largest = PARA_MAX(largest, ct[n] - ct[n - 1]);
- return largest;
-}
-