sig
  type stereo_mode = Default | Stereo | Joint_stereo
  type abr = {
    min_bitrate : int option;
    mean_bitrate : int;
    max_bitrate : int option;
    hard_min : bool;
  }
  val string_of_abr : Encoder.MP3.abr -> string
  type bitrate_control = ABR of Encoder.MP3.abr | VBR of int | CBR of int
  val string_of_bitrate_control : Encoder.MP3.bitrate_control -> string
  type id3v2_export = Encoder.Meta.export_metadata -> string
  type t = {
    stereo : bool;
    stereo_mode : Encoder.MP3.stereo_mode;
    bitrate_control : Encoder.MP3.bitrate_control;
    internal_quality : int;
    samplerate : int;
    id3v2 : Encoder.MP3.id3v2_export option;
    msg_interval : float;
    msg : string;
  }
  val id3v2_export : Encoder.MP3.id3v2_export option Pervasives.ref
  val to_string : Encoder.MP3.t -> string
end