package ao

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type driver_kind_t = [
  1. | `FILE
  2. | `LIVE
  3. | `UNKNOWN
]
type byte_format_t = [
  1. | `BIG_ENDIAN
  2. | `LITTLE_ENDIAN
  3. | `NATIVE
  4. | `UNKNOWN
]
type driver_t = private {
  1. id : int;
  2. kind : driver_kind_t;
  3. short_name : string;
  4. name : string;
  5. comment : string;
  6. author : string;
  7. priority : int;
  8. preferred_byte_format : byte_format_t;
  9. options : string list;
}
exception Closed
exception Invalid_value
val get_default_driver : unit -> driver_t
val drivers : driver_t list
val open_live : ?bits:int -> ?rate:int -> ?channels:int -> ?channels_matrix:string -> ?byte_format:byte_format_t -> ?options:(string * string) list -> ?driver:driver_t -> unit -> t
val open_file : ?bits:int -> ?rate:int -> ?channels:int -> ?channels_matrix:string -> ?byte_format:byte_format_t -> ?options:(string * string) list -> ?driver:driver_t -> ?overwrite:bool -> string -> t
val find_driver : string -> driver_t
val play : t -> string -> unit
val close : t -> unit
val driver_kind : driver_t -> driver_kind_t
val driver_name : driver_t -> string
val driver_short_name : driver_t -> string
val driver_comment : driver_t -> string
val driver_author : driver_t -> string
val driver_priority : driver_t -> int
val driver_preferred_byte_format : driver_t -> byte_format_t
val driver_options : driver_t -> string list