}
/**
- * Determine the maximal chunk size by investigating the chunk table.
+ * Determine the maximal chunk size by iterating the chunk table.
*
* \param afhi Value/result.
*
- * This function iterates over the chunk table and sets ->max_chunk_size
- * accordingly. The function exists only for backward compatibility since as of
- * version 0.6.0, para_server stores the maximal chunk size in its database.
- * This function is only called if the database value is zero, indicating that
- * the file was added by an older server version.
+ * This function is called by the audio format handlers, for example when a
+ * new audio file is added to the afs database. The chunk table is determined
+ * from the given afhi pointer, and the maximal chunk size is returned via
+ * the ->max_chunk_size member of the same pointer.
*/
void set_max_chunk_size(struct afh_info *afhi)
{