Functor Vorbis.Info


module Info: 
functor (Io : Iofile) -> sig .. end
Get info and comments from a vorbis file via the Io module.
Parameters:
Io : Iofile

val get_comments : string -> string * (string * string) array
Get the vorbis comments from a vorbis file. The first string is the vendor string, the elements of the array are of the form (field name, field contents), where 'field name' is uppercase.
val get_info : string -> Vorbis.info
Get the information in the header of a vorbis file with a safe value of duration.
val get_heuristical_info : string -> Vorbis.info
Same as get_info but uses a heuristic to find the duration of the vorbis file without reading every page header.
val file_size : string -> int
Get the size of a given file (in bytes).