module Taglib:Ocaml bindings to taglibsig..end
All strings used in this module should be UTF8-encoded.
Types
type 'a t
val version : stringval tag_title : 'a t -> stringval tag_artist : 'a t -> stringval tag_album : 'a t -> stringval tag_comment : 'a t -> stringval tag_genre : 'a t -> stringval tag_year : 'a t -> intval tag_track : 'a t -> intval tag_set_title : 'a t -> string -> unitval tag_set_artist : 'a t -> string -> unitval tag_set_album : 'a t -> string -> unitval tag_set_comment : 'a t -> string -> unitval tag_set_genre : 'a t -> string -> unitval tag_set_year : 'a t -> int -> unitval tag_set_track : 'a t -> int -> unitmodule File:sig..end
module Inline:sig..end
type file_type =
| |
Mpeg |
| |
OggVorbis |
| |
Flac |
| |
Mpc |
| |
OggFlac |
| |
WavPack |
| |
Speex |
| |
TrueAudio |
| |
Mp4 |
| |
Asf |
exception Closed
exception Not_implemented
val set_strings_unicode : bool -> unitval open_file : ?file_type:file_type ->
string -> File.file_type File.fileval audioproperties_length : File.file_type File.file -> intval audioproperties_bitrate : File.file_type File.file -> intval audioproperties_samplerate : File.file_type File.file -> intval audioproperties_channels : File.file_type File.file -> intval close_file : File.file_type File.file -> unitval file_save : File.file_type File.file -> bool