sig
  type bitrate_control = Quality of int | Vbr of int | Abr of int
  type mode = Narrowband | Wideband | Ultra_wideband
  type t = {
    bitrate_control : Encoder.Speex.bitrate_control;
    samplerate : int;
    stereo : bool;
    mode : Encoder.Speex.mode;
    frames_per_packet : int;
    complexity : int option;
    fill : int option;
  }
  val string_of_br_ctl : Encoder.Speex.bitrate_control -> string
  val string_of_mode : Encoder.Speex.mode -> string
  val string_of_complexity : int option -> string
  val to_string : Encoder.Speex.t -> string
end