= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val ok : error_code
val done_ : error_code
val flag_id3 : flags
val flag_new_id3 : flags
val flag_icy : flags
val flag_new_icy : flags
val init : unit -> (unit, error_code) result
val new_ : ?decoder:string -> unit -> (handle, error_code) result
val delete : handle -> unit
val plain_strerror : error_code -> string
val strerror : handle -> string
val errcode : handle -> error_code
val decoder : handle -> decoder_name:string -> (unit, error_code) result
val current_decoder : handle -> string
val open_ : handle -> path:string -> (unit, error_code) result
val close : handle -> (unit, error_code) result
val create_buf : int -> buf
val read : handle -> buf:buf -> len:int -> (int, error_code) result
val scan : handle -> (unit, error_code) result
val length : handle -> (int, error_code) result
val meta_free : handle -> unit
type id3_v2 = {
version : char;
title : string;
artist : string;
album : string;
year : string;
genre : string;
comment : string;
comment_list : id3_v2_text list;
text : id3_v2_text list;
extra : id3_v2_text list;
picture : id3_v2_picture list;
}
val getformat : handle -> (output_format, error_code) result
val format_none : handle -> (unit, error_code) result
val format_ :
handle ->
rate:int ->
channels:int ->
encodings:int ->
(unit, error_code) result
val id3 : handle -> (id3_v1 option * id3_v2 option, error_code) result